directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ccust...@apache.org
Subject svn commit: r566351 - /directory/shared/branches/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/schema/AbstractSchemaObject.java
Date Wed, 15 Aug 2007 21:31:21 GMT
Author: ccustine
Date: Wed Aug 15 14:31:20 2007
New Revision: 566351

URL: http://svn.apache.org/viewvc?view=rev&rev=566351
Log:
DIRSERVER-902

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

Modified: directory/shared/branches/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/schema/AbstractSchemaObject.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/schema/AbstractSchemaObject.java?view=diff&rev=566351&r1=566350&r2=566351
==============================================================================
--- directory/shared/branches/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/schema/AbstractSchemaObject.java
(original)
+++ directory/shared/branches/0.9.5/ldap/src/main/java/org/apache/directory/shared/ldap/schema/AbstractSchemaObject.java
Wed Aug 15 14:31:20 2007
@@ -316,6 +316,6 @@
      */
     public String toString()
     {
-        return "<" + oid.toString() + ", " + names[0] + ">";
+        return "<" + oid + ", " + ( ( names == null ) || ( names.length == 0 ) ? "null"
: names[0] ) + ">";
     }
 }



Mime
View raw message