directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r529404 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/AbstractSchemaObject.java
Date Mon, 16 Apr 2007 21:16:27 GMT
Author: elecharny
Date: Mon Apr 16 14:16:26 2007
New Revision: 529404

URL: http://svn.apache.org/viewvc?view=rev&rev=529404
Log:
Fixed DIRSERVER-902. The first fix was not enough...

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/AbstractSchemaObject.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/AbstractSchemaObject.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/AbstractSchemaObject.java?view=diff&rev=529404&r1=529403&r2=529404
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/AbstractSchemaObject.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/AbstractSchemaObject.java
Mon Apr 16 14:16:26 2007
@@ -317,6 +317,6 @@
      */
     public String toString()
     {
-        return "<" + oid + ", " + ( names == null ? "null" : names[0] ) + ">";
+        return "<" + oid + ", " + ( ( names == null ) || ( names.length == 0 ) ? "null"
: names[0] ) + ">";
     }
 }



Mime
View raw message