-
For each method named _bar_ below, spotbugs issue a warning that the method is "uncallable":
```
class Foo {
static Runnable x() {
var k = new Object() {
void bar() { }
…
-
When a method has a `@NonNull` annotated parameter and the code is checking for null, I would have expected spotbugs to have thrown an error as the parameter can never be null (hence the annotation).
…
-
```
SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.
Scanning archi…
-
The plugin reports *Constructor makes call to non-final method* when a constructor calls a private method.
## Environment
- com.github.spotbugs version 5.0.13
- fb-contrib version 7.4.3.sb
-…
-
**Environment**: Win 10, Gradle 6.3, Gradle Spotbugs Plugin 4.2.0, JDK 1.8.242
The following snippet shows a **FALSE Positive** that an experimental error found. It does not detect that the Prepar…
-
* Create a release on github including
* a tag with version
* publish the release to github and maven central
* publish release docs and user manual to dynamoframework.org
-
https://github.com/mvitz/spotbugs-bugs consists of three classes `A`, `B` and `C` which all have a single unused private field.
When invoking `man verify` spot bugs detects the unused private field…
mvitz updated
4 years ago
-
We should use static analysis tools to find and avoid bugs at compile time, before they become issues at runtime, and become much harder (and hence, costlier) to find and fix.
These can be tools we…
-
**Proposed Rule Name:**
AvoidClassMethodFromInstance
**Proposed Category:** [Error Prone]
**Description:**
It can become confusing to read or debug code where a static or class method is invo…
-