directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r267329 - /directory/shared/ldap/branches/new-codec-integration/common/src/java/org/apache/ldap/common/schema/SchemaUtils.java
Date Fri, 02 Sep 2005 21:45:43 GMT
Author: elecharny
Date: Fri Sep  2 14:45:39 2005
New Revision: 267329

URL: http://svn.apache.org/viewcvs?rev=267329&view=rev
Log:
Updated the branch to reflect the modifications in the trunk

Modified:
    directory/shared/ldap/branches/new-codec-integration/common/src/java/org/apache/ldap/common/schema/SchemaUtils.java

Modified: directory/shared/ldap/branches/new-codec-integration/common/src/java/org/apache/ldap/common/schema/SchemaUtils.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/common/src/java/org/apache/ldap/common/schema/SchemaUtils.java?rev=267329&r1=267328&r2=267329&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/common/src/java/org/apache/ldap/common/schema/SchemaUtils.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/common/src/java/org/apache/ldap/common/schema/SchemaUtils.java
Fri Sep  2 14:45:39 2005
@@ -266,13 +266,13 @@
             buf.append( " " ).append( oc.getType().getName() );
         }
 
-        if ( oc.getMustList() != null )
+        if ( oc.getMustList() != null && oc.getMustList().length > 0 )
         {
             buf.append( " MUST " );
             render( buf, oc.getMustList() );
         }
 
-        if ( oc.getMayList() != null )
+        if ( oc.getMayList() != null && oc.getMayList().length > 0 )
         {
             buf.append( " MAY " );
             render( buf, oc.getMayList() );



Mime
View raw message