-
Spotbugs ignores a suppress warnings annotation. But just one, other are working as expected.
Please take a look at my class `MainFrame.java` line 117:
```java
@SuppressFBWarnings(value = "DMI_…
-
`
Boolean isEmpty(Object obj){
return obj == null;
}
void fun() {
Object obj = null;
if (isEmpty(obj)){
doSomething();
} else {
…
-
Some URLs in SpotBugs Bug Detector Report are broken. All warnings from plug-ins do not work. Here is a Maven project to reproduce and demonstrate the problem.
- https://github.com/justincranford/spo…
-
On the spotbugs report, almost every Null Pointer issue we see are originating from auto created Data Binding classes. Can these be omitted when generating the reports?
Ex:
> "In class io.sample…
-
When using generating JAXB classes using the latest xjc with the -mark-generated argument, it generates the classes with the jakarta.annotation.Generated annotation. I have the generated sources in th…
-
I suggest to decorate `ApplicationContextAssert::getBean(s)` methods with a [`@CheckReturnValue`](https://errorprone.info/bugpattern/CheckReturnValue) annotation so that incomplete statements like the…
-
```
[spotbugs] Running SpotBugs...
[spotbugs] Unexpected problem occured during version sanity check
[spotbugs] Reported exception:
[spotbugs] java.lang.AbstractMeth…
-
Hey all,
I've recently tried to get Spotbugs working in a sample Android application and I haven't had any luck.
Here's a sample project showing my attempt: https://github.com/ZOlbrys/SpotbugsEx…
-
The tool does not create comments from Spotbugs reports.
It writes something about wrong line number in debug info:
```
INFO Spotbugs INFO PRMC_POSSIBLY_REDUNDANT_METHOD_CALLS /CurrentSupplierCon…
-
We are running spotbugs in our ant project and we get the following messages
```
[mkdir] Created dir: /jenkins/.jenkins04/workspace/XXXXX/reports/spotbugs
[spotbugs] Executing SpotBugs FindBugs…