-
Notifications
You must be signed in to change notification settings - Fork 1
/
findbugs.exclude.xml
31 lines (26 loc) · 1.3 KB
/
findbugs.exclude.xml
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
26
27
28
29
30
31
<!-- Used by findbugs.build.xml to exclude various kinds of false positives. -->
<FindBugsFilter>
<!-- Match all occurrences of these bugcodes throughout the system. -->
<Match>
<Bug pattern="LG_LOST_LOGGER_DUE_TO_WEAK_REFERENCE,RV_RETURN_VALUE_OF_PUTIFABSENT_IGNORED,NP_NULL_ON_SOME_PATH_EXCEPTION,VA_FORMAT_STRING_USES_NEWLINE,UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD,URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD,DM_DEFAULT_ENCODING,OBL_UNSATISFIED_OBLIGATION,OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE,J2EE,MS_PKGPROTECT" />
</Match>
<!-- Never check the autogenerated jaxb classes. -->
<Match>
<Package name="~.*\.jaxb" />
</Match>
<!-- Don't worry about these SQL warnings in DerbyImplementation; they're OK. -->
<Match>
<Class name="org.wattdepot.server.db.derby.DerbyStorageImplementation" />
<Method name="getProjectSummary"/>
<Bug pattern="SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING"/>
</Match>
<Match>
<Class name="org.wattdepot.server.db.derby.DerbyStorageImplementation" />
<Method name="hasSensorData"/>
<Bug pattern="SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING"/>
</Match>
<Match>
<Class name="org.wattdepot.server.db.derby.DerbyStorageImplementation" />
<Bug pattern="NP_GUARANTEED_DEREF_ON_EXCEPTION_PATH"/>
</Match>
</FindBugsFilter>