...
The following table summarizes the examples flagged as violations by FindbugsFindBugs:
Noncompliant Code Example | Flagged | Checker | Message |
---|---|---|---|
| Yes | DL_SYNCHRONIZATION_ON_BOOLEAN | Synchronization on Boolean could deadlock |
Boxed primitive | Yes | DL_SYNCHRONIZATION_ON_BOXED_PRIMITIVE | Synchronization on Integer could deadlock |
interned | No | DL_SYNCHRONIZATION_ON_SHARED_CONSTANT | n/a |
String literal | Yes | Synchronization on interned String could deadlock | |
| No | WL_USING_GETCLASS_RATHER_THAN_CLASS_LITERAL | n/a |
| No | n/a | |
Collection view | No | n/a |
...
Noncompliant Code Example | Flagged | Message |
---|---|---|
| No | No obvious issues |
Boxed primitive | No | No obvious issues |
interned | No | No obvious issues |
String literal | No | No data available about field accesses |
| NoWL_USING_GETCLASS_RATHER_THAN_CLASS_LITERAL | No data available about field accesses |
| No | No obvious issues |
Collection view | No | No obvious issues |
...