Author: markt
Date: Fri Nov 30 20:50:11 2018
New Revision: 1847852
URL: http://svn.apache.org/viewvc?rev=1847852&view=rev
Log:
Fix a false positive
Modified:
tomcat/trunk/res/findbugs/filter-false-positives.xml
Modified: tomcat/trunk/res/findbugs/filter-false-positives.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/res/findbugs/filter-false-positives.xml?rev=1847852&r1=1847851&r2=1847852&view=diff
==============================================================================
--- tomcat/trunk/res/findbugs/filter-false-positives.xml (original)
+++ tomcat/trunk/res/findbugs/filter-false-positives.xml Fri Nov 30 20:50:11
2018
@@ -191,6 +191,13 @@
<Bug code="Dm" />
</Match>
<Match>
+ <!-- This could be optimised but a) the code would be less clear and -->
+ <!-- b) SpotBugs still reports an error with the optimised code. -->
+ <Class name="org.apache.catalina.core.StandardServer"/>
+ <Method name="startPeriodicLifecycleEvent"/>
+ <Bug pattern="RpC_REPEATED_CONDITIONAL_TEST "/>
+ </Match>
+ <Match>
<!-- Sync not targeting these fields -->
<Class name="org.apache.catalina.core.StandardWrapper" />
<Or>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]