You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by fe...@apache.org on 2011/04/15 17:20:24 UTC

svn commit: r1092738 - /james/server/trunk/mailetcontainer-library/src/main/java/org/apache/james/mailetcontainer/lib/AbstractStateMailetProcessor.java

Author: felixk
Date: Fri Apr 15 15:20:24 2011
New Revision: 1092738

URL: http://svn.apache.org/viewvc?rev=1092738&view=rev
Log:
Mark as false positive for findbugs reporting

Modified:
    james/server/trunk/mailetcontainer-library/src/main/java/org/apache/james/mailetcontainer/lib/AbstractStateMailetProcessor.java

Modified: james/server/trunk/mailetcontainer-library/src/main/java/org/apache/james/mailetcontainer/lib/AbstractStateMailetProcessor.java
URL: http://svn.apache.org/viewvc/james/server/trunk/mailetcontainer-library/src/main/java/org/apache/james/mailetcontainer/lib/AbstractStateMailetProcessor.java?rev=1092738&r1=1092737&r2=1092738&view=diff
==============================================================================
--- james/server/trunk/mailetcontainer-library/src/main/java/org/apache/james/mailetcontainer/lib/AbstractStateMailetProcessor.java (original)
+++ james/server/trunk/mailetcontainer-library/src/main/java/org/apache/james/mailetcontainer/lib/AbstractStateMailetProcessor.java Fri Apr 15 15:20:24 2011
@@ -312,6 +312,7 @@ public abstract class AbstractStateMaile
     }
 
     @SuppressWarnings("unchecked")
+    @edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "NP_LOAD_OF_KNOWN_NULL_VALUE", justification = "HashMap allows the null key")
     private void parseConfiguration() throws MessagingException, ConfigurationException {
 
         // load composite matchers if there are any
@@ -349,6 +350,7 @@ public abstract class AbstractStateMaile
                     }
                 } else if (invertedMatcherName != null) {
                     // try to load from compositeMatchers first
+                    // matcherName is a known null value at this state
                     matcher = compositeMatchers.get(matcherName);
                     if (matcher == null) {
                         // no composite Matcher found, try to load it via



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org