directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1086990 - in /directory/shared/trunk: integ/src/test/java/org/apache/directory/shared/ldap/entry/ ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/
Date Wed, 30 Mar 2011 15:35:02 GMT
Author: elecharny
Date: Wed Mar 30 15:35:01 2011
New Revision: 1086990

URL: http://svn.apache.org/viewvc?rev=1086990&view=rev
Log:
Renamed the applySchemaManager() method

Modified:
    directory/shared/trunk/integ/src/test/java/org/apache/directory/shared/ldap/entry/SchemaAwareEntryAttributeSerializationTest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/DefaultEntryAttribute.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/EntryAttribute.java

Modified: directory/shared/trunk/integ/src/test/java/org/apache/directory/shared/ldap/entry/SchemaAwareEntryAttributeSerializationTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ/src/test/java/org/apache/directory/shared/ldap/entry/SchemaAwareEntryAttributeSerializationTest.java?rev=1086990&r1=1086989&r2=1086990&view=diff
==============================================================================
--- directory/shared/trunk/integ/src/test/java/org/apache/directory/shared/ldap/entry/SchemaAwareEntryAttributeSerializationTest.java
(original)
+++ directory/shared/trunk/integ/src/test/java/org/apache/directory/shared/ldap/entry/SchemaAwareEntryAttributeSerializationTest.java
Wed Mar 30 15:35:01 2011
@@ -87,7 +87,7 @@ public class SchemaAwareEntryAttributeSe
 
         EntryAttribute attribute2 = new DefaultEntryAttribute();
         attribute2.readExternal( in );
-        attribute2.applySchemaManager( schemaManager );
+        attribute2.apply( schemaManager );
 
         assertEquals( attribute1, attribute2 );
     }
@@ -110,7 +110,7 @@ public class SchemaAwareEntryAttributeSe
 
         EntryAttribute attribute2 = new DefaultEntryAttribute();
         attribute2.readExternal( in );
-        attribute2.applySchemaManager( schemaManager );
+        attribute2.apply( schemaManager );
 
         assertEquals( attribute1, attribute2 );
         assertEquals( "CommonName", attribute2.getUpId() );
@@ -134,7 +134,7 @@ public class SchemaAwareEntryAttributeSe
 
         EntryAttribute attribute2 = new DefaultEntryAttribute();
         attribute2.readExternal( in );
-        attribute2.applySchemaManager( schemaManager );
+        attribute2.apply( schemaManager );
 
         assertEquals( attribute1, attribute2 );
         assertEquals( "CN", attribute2.getUpId() );
@@ -158,7 +158,7 @@ public class SchemaAwareEntryAttributeSe
 
         EntryAttribute attribute2 = new DefaultEntryAttribute();
         attribute2.readExternal( in );
-        attribute2.applySchemaManager( schemaManager );
+        attribute2.apply( schemaManager );
 
         assertEquals( attribute1, attribute2 );
     }
@@ -181,7 +181,7 @@ public class SchemaAwareEntryAttributeSe
 
         EntryAttribute attribute2 = new DefaultEntryAttribute();
         attribute2.readExternal( in );
-        attribute2.applySchemaManager( schemaManager );
+        attribute2.apply( schemaManager );
 
         assertEquals( attribute1, attribute2 );
     }
@@ -204,7 +204,7 @@ public class SchemaAwareEntryAttributeSe
 
         EntryAttribute attribute2 = new DefaultEntryAttribute();
         attribute2.readExternal( in );
-        attribute2.applySchemaManager( schemaManager );
+        attribute2.apply( schemaManager );
 
         assertEquals( attribute1, attribute2 );
         assertEquals( "UserCertificate", attribute2.getUpId() );

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/DefaultEntryAttribute.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/DefaultEntryAttribute.java?rev=1086990&r1=1086989&r2=1086990&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/DefaultEntryAttribute.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/DefaultEntryAttribute.java
Wed Mar 30 15:35:01 2011
@@ -2387,7 +2387,7 @@ public class DefaultEntryAttribute imple
     /**
      * {@inheritDoc}
      */
-    public void applySchemaManager( SchemaManager schemaManager ) throws LdapInvalidAttributeValueException
+    public void apply( SchemaManager schemaManager ) throws LdapInvalidAttributeValueException
     {
         AttributeType attributeType = null;
         

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/EntryAttribute.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/EntryAttribute.java?rev=1086990&r1=1086989&r2=1086990&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/EntryAttribute.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/entry/EntryAttribute.java
Wed Mar 30 15:35:01 2011
@@ -491,5 +491,5 @@ public interface EntryAttribute extends 
     /**
      * Apply the give SchemaManager to make this EntryAttribute Schema aware
      */
-    void applySchemaManager( SchemaManager schemaManager ) throws LdapInvalidAttributeValueException;
+    void apply( SchemaManager schemaManager ) throws LdapInvalidAttributeValueException;
 }



Mime
View raw message