From 48a80f803d953c2656d0df69e6d3e3b2b8dd2bf5 Mon Sep 17 00:00:00 2001 From: Les Vogel Date: Wed, 15 Apr 2020 17:01:05 -0700 Subject: [PATCH] Update spotBugsExcludeFilter.xml (#127) Add a few exclusions: * `RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE` - existing - codegen bug * `UPM_UNCALLED_PRIVATE_METHOD` - probably SpotBug issue * `NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE` - likely SpotBug issue * `CLI_CONSTANT_LIST_INDEX` - style issue particular to our samples * `OBL_UNSATISFIED_OBLIGATION` - issue for SQL clients --- .../c.g.c.s/spotBugsExcludeFilter.xml | 40 +++++++++++++++---- 1 file changed, 33 insertions(+), 7 deletions(-) diff --git a/checkstyle-config/src/main/resources/c.g.c.s/spotBugsExcludeFilter.xml b/checkstyle-config/src/main/resources/c.g.c.s/spotBugsExcludeFilter.xml index 0dd6813d..31c05a23 100644 --- a/checkstyle-config/src/main/resources/c.g.c.s/spotBugsExcludeFilter.xml +++ b/checkstyle-config/src/main/resources/c.g.c.s/spotBugsExcludeFilter.xml @@ -25,12 +25,38 @@ see https://spotbugs.readthedocs.io/en/stable/bugDescriptions.html xmlns="https://github.com/spotbugs/filter/3.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://github.com/spotbugs/filter/3.0.0 https://raw.githubusercontent.com/spotbugs/spotbugs/3.1.0/spotbugs/etc/findbugsfilter.xsd"> - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +