Author: markt Date: Sun Jul 30 19:21:51 2017 New Revision: 1803458 URL: http://svn.apache.org/viewvc?rev=1803458&view=rev Log: Mark the use of != with String as a false positive for FindBugs
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=1803458&r1=1803457&r2=1803458&view=diff ============================================================================== --- tomcat/trunk/res/findbugs/filter-false-positives.xml (original) +++ tomcat/trunk/res/findbugs/filter-false-positives.xml Sun Jul 30 19:21:51 2017 @@ -252,6 +252,12 @@ <Bug code="Dm" /> </Match> <Match> + <!-- The use of != with a String is a deliberate hack --> + <Class name="org.apache.catalina.servlets.DefaultServlet" /> + <Method name="serveResource" /> + <Bug pattern="ES_COMPARING_STRINGS_WITH_EQ" /> + </Match> + <Match> <!-- Non-constant strings are configuration settings rather than client supplied --> <Class name="org.apache.catalina.session.JDBCStore" /> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org