summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/minimumApp/.fbExcludeFilterFile
blob: 3cd2303d3020cd608adcae3931aaeb9aad5957ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<FindBugsFilter>
  <Match>
    <Or>
      <Package name="~.*protobuff\.messages.*" />
      <Package name="~org\.opendaylight\.yang\.gen\..*" />
      <Package name="~org\.opendaylight\.controller\.config\.yang\.config\..*" />
    </Or>
  </Match>

  <Match>
    <Or>
      <!-- Anonymous inner classes are very common in ODL. -->
      <Bug pattern="SIC_INNER_SHOULD_BE_STATIC_ANON" />

      <!-- We use static slf4j Logger (this rule is from KengoTODA/findbugs-slf4j jp.skypencil.findbugs.slf4:bug-pattern) -->
      <Bug pattern="SLF4J_LOGGER_SHOULD_BE_NON_STATIC" />

      <!-- Guava 23.6+ uses @NullableDecl which FindBugs doesn't know about; fixed in SpotBugs 3.1.2+ -->
      <Bug pattern="NP_NONNULL_PARAM_VIOLATION" />
      <Bug pattern="NP_NULL_PARAM_DEREF" />
      <Bug pattern="NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" />
      <Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE" />
    </Or>
  </Match>
</FindBugsFilter>