directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r479674 - /directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/PresentFilter.java
Date Mon, 27 Nov 2006 16:16:16 GMT
Author: elecharny
Date: Mon Nov 27 08:16:16 2006
New Revision: 479674

URL: http://svn.apache.org/viewvc?view=rev&rev=479674
Log:
Added one more defensive test to avoid NPE in DEBUG mode

Modified:
    directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/PresentFilter.java

Modified: directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/PresentFilter.java
URL: http://svn.apache.org/viewvc/directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/PresentFilter.java?view=diff&rev=479674&r1=479673&r2=479674
==============================================================================
--- directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/PresentFilter.java
(original)
+++ directory/branches/shared/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/PresentFilter.java
Mon Nov 27 08:16:16 2006
@@ -139,7 +139,7 @@
 
         StringBuffer sb = new StringBuffer();
 
-        sb.append( attributeDescription.toString() ).append( "=*" );
+        sb.append( attributeDescription ).append( "=*" );
 
         return sb.toString();
     }



Mime
View raw message