directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r951428 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultEntryAttribute.java
Date Fri, 04 Jun 2010 14:47:44 GMT
Author: felixk
Date: Fri Jun  4 14:47:44 2010
New Revision: 951428

URL: http://svn.apache.org/viewvc?rev=951428&view=rev
Log:
False positive in findbugs

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultEntryAttribute.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultEntryAttribute.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultEntryAttribute.java?rev=951428&r1=951427&r2=951428&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultEntryAttribute.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/entry/DefaultEntryAttribute.java
Fri Jun  4 14:47:44 2010
@@ -867,6 +867,8 @@ public class DefaultEntryAttribute imple
      * @param vals some new values to be added which may be null
      * @return the number of added values, or 0 if none has been added
      */
+    @edu.umd.cs.findbugs.annotations.SuppressWarnings( value="NP_LOAD_OF_KNOWN_NULL_VALUE",

+        justification="Validity of null depends on the checker")
     public int add( Value<?>... vals )
     {
         int nbAdded = 0;



Mime
View raw message