directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1063808 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/model/schema/AbstractSchemaObject.java
Date Wed, 26 Jan 2011 18:03:15 GMT
Author: pamarcelot
Date: Wed Jan 26 18:03:15 2011
New Revision: 1063808

URL: http://svn.apache.org/viewvc?rev=1063808&view=rev
Log:
Fixed the 'setNames(...)' method which was not clearing the list of names before adding the
new ones.

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

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/model/schema/AbstractSchemaObject.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/model/schema/AbstractSchemaObject.java?rev=1063808&r1=1063807&r2=1063808&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/model/schema/AbstractSchemaObject.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/model/schema/AbstractSchemaObject.java
Wed Jan 26 18:03:15 2011
@@ -336,6 +336,8 @@ public abstract class AbstractSchemaObje
 
         if ( !isReadOnly )
         {
+            this.names.clear();
+            
             for ( String name : names )
             {
                 if ( name != null )



Mime
View raw message