You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2012/05/02 15:03:42 UTC

svn commit: r1333023 - /directory/apacheds/trunk/interceptors/schema/src/main/java/org/apache/directory/server/core/schema/SchemaInterceptor.java

Author: elecharny
Date: Wed May  2 13:03:41 2012
New Revision: 1333023

URL: http://svn.apache.org/viewvc?rev=1333023&view=rev
Log:
Removed a useless add

Modified:
    directory/apacheds/trunk/interceptors/schema/src/main/java/org/apache/directory/server/core/schema/SchemaInterceptor.java

Modified: directory/apacheds/trunk/interceptors/schema/src/main/java/org/apache/directory/server/core/schema/SchemaInterceptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/interceptors/schema/src/main/java/org/apache/directory/server/core/schema/SchemaInterceptor.java?rev=1333023&r1=1333022&r2=1333023&view=diff
==============================================================================
--- directory/apacheds/trunk/interceptors/schema/src/main/java/org/apache/directory/server/core/schema/SchemaInterceptor.java (original)
+++ directory/apacheds/trunk/interceptors/schema/src/main/java/org/apache/directory/server/core/schema/SchemaInterceptor.java Wed May  2 13:03:41 2012
@@ -1043,7 +1043,6 @@ public class SchemaInterceptor extends B
 
                 for ( Value<?> value : attribute )
                 {
-                    attribute.add( value );
                     binaries.add( new BinaryValue( attribute.getAttributeType(), value.getBytes() ) );
                 }
 
@@ -1057,6 +1056,7 @@ public class SchemaInterceptor extends B
         }
     }
 
+    
     /**
      * A special filter over entry attributes which replaces Attribute String values with their respective byte[]
      * representations using schema information and the value held in the JNDI environment property: