diff options
Diffstat (limited to 'spotbugs/src/main')
-rw-r--r-- | spotbugs/src/main/resources/spotbugs-exclude.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spotbugs/src/main/resources/spotbugs-exclude.xml b/spotbugs/src/main/resources/spotbugs-exclude.xml index 059b560691..d8731ac818 100644 --- a/spotbugs/src/main/resources/spotbugs-exclude.xml +++ b/spotbugs/src/main/resources/spotbugs-exclude.xml @@ -37,6 +37,10 @@ <Bug pattern="NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" /> <Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE" /> + <!-- https://stackoverflow.com/a/34674776. Doesn't detect Lombok All Args Constructor variables being used with map get key and value, which can lead to spotbugs being detected + on used fields --> + <Bug pattern="URF_UNREAD_FIELD"/> + <!-- https://github.com/spotbugs/spotbugs/issues/511. Strict reading of Object.equals() contract means that evenever equals() behaviour is defined, all implementations need to adhere to it. The only reason to override the method (assuming correct API design, of course) is to provide a more efficient |