directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1090480 - in /directory: apacheds/trunk/core/src/main/java/org/apache/directory/server/core/normalization/ shared/trunk/integ/src/test/java/org/apache/directory/shared/ldap/entry/ shared/trunk/ldap/model/src/main/java/org/apache/directory/...
Date Fri, 08 Apr 2011 22:59:37 GMT
Author: elecharny
Date: Fri Apr  8 22:59:37 2011
New Revision: 1090480

URL: http://svn.apache.org/viewvc?rev=1090480&view=rev
Log:
Renamed the applyAttributeType() method to apply()

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/normalization/NormalizationInterceptor.java
    directory/shared/trunk/integ/src/test/java/org/apache/directory/shared/ldap/entry/SchemaAwareModificationSerializationTest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/DefaultModification.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/Modification.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/normalization/NormalizationInterceptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/normalization/NormalizationInterceptor.java?rev=1090480&r1=1090479&r2=1090480&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/normalization/NormalizationInterceptor.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/normalization/NormalizationInterceptor.java
Fri Apr  8 22:59:37 2011
@@ -147,7 +147,7 @@ public class NormalizationInterceptor ex
             for ( Modification modification : modifyContext.getModItems() )
             {
                 AttributeType attributeType = schemaManager.getAttributeType( modification.getAttribute().getId()
);
-                modification.applyAttributeType( attributeType );
+                modification.apply( attributeType );
             }
         }
         

Modified: directory/shared/trunk/integ/src/test/java/org/apache/directory/shared/ldap/entry/SchemaAwareModificationSerializationTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ/src/test/java/org/apache/directory/shared/ldap/entry/SchemaAwareModificationSerializationTest.java?rev=1090480&r1=1090479&r2=1090480&view=diff
==============================================================================
--- directory/shared/trunk/integ/src/test/java/org/apache/directory/shared/ldap/entry/SchemaAwareModificationSerializationTest.java
(original)
+++ directory/shared/trunk/integ/src/test/java/org/apache/directory/shared/ldap/entry/SchemaAwareModificationSerializationTest.java
Fri Apr  8 22:59:37 2011
@@ -127,7 +127,7 @@ public class SchemaAwareModificationSeri
             {
                 AttributeType attributeType = schemaManager.getAttributeType( attribute.getId()
);
                 
-                modification.applyAttributeType( attributeType );
+                modification.apply( attributeType );
             }
 
             return modification;

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/DefaultModification.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/DefaultModification.java?rev=1090480&r1=1090479&r2=1090480&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/DefaultModification.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/DefaultModification.java
Fri Apr  8 22:59:37 2011
@@ -151,7 +151,7 @@ public class DefaultModification impleme
     /**
      * {@inheritDoc}
      */
-    public void applyAttributeType( AttributeType attributeType ) throws LdapInvalidAttributeValueException
+    public void apply( AttributeType attributeType ) throws LdapInvalidAttributeValueException
     {
         this.attributeType = attributeType;
         

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/Modification.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/Modification.java?rev=1090480&r1=1090479&r2=1090480&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/Modification.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/Modification.java
Fri Apr  8 22:59:37 2011
@@ -81,5 +81,5 @@ public interface Modification extends Cl
      * 
      * @param AttributeType the injected AttributeType
      */
-    void applyAttributeType( AttributeType attributeType ) throws LdapInvalidAttributeValueException;
+    void apply( AttributeType attributeType ) throws LdapInvalidAttributeValueException;
 }
\ No newline at end of file



Mime
View raw message