directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1096733 - /directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/PartitionsDiffComputer.java
Date Tue, 26 Apr 2011 11:53:57 GMT
Author: elecharny
Date: Tue Apr 26 11:53:57 2011
New Revision: 1096733

URL: http://svn.apache.org/viewvc?rev=1096733&view=rev
Log:
Updated the Studio after the mdoifciation done in LdifEntry

Modified:
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/PartitionsDiffComputer.java

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/PartitionsDiffComputer.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/PartitionsDiffComputer.java?rev=1096733&r1=1096732&r2=1096733&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/PartitionsDiffComputer.java
(original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/PartitionsDiffComputer.java
Tue Apr 26 11:53:57 2011
@@ -206,7 +206,7 @@ public class PartitionsDiffComputer
                 {
                     if ( modificationEntryChangeType == ChangeType.Delete
                         || ( modificationEntryChangeType == ChangeType.Modify &&
modificationEntry
-                            .getModificationItems().size() > 0 ) )
+                            .getModifications().size() > 0 ) )
                     {
                         // Adding the modification entry to the list
                         modifications.add( modificationEntry );
@@ -329,7 +329,7 @@ public class PartitionsDiffComputer
                     modification.setOperation( ModificationOperation.REMOVE_ATTRIBUTE );
                     modification.setAttribute( new DefaultAttribute( originalAttribute.getAttributeType()
) );
 
-                    modificationEntry.addModificationItem( modification );
+                    modificationEntry.addModification( modification );
                 }
                 else
                 {
@@ -370,7 +370,7 @@ public class PartitionsDiffComputer
                         }
                     }
 
-                    modificationEntry.addModificationItem( modification );
+                    modificationEntry.addModification( modification );
                 }
             }
         }
@@ -414,7 +414,7 @@ public class PartitionsDiffComputer
                     // TODO : handle the exception
                 }
 
-                modificationEntry.addModificationItem( modification );
+                modificationEntry.addModification( modification );
             }
 
             evaluatedValues.add( originalValue );
@@ -440,7 +440,7 @@ public class PartitionsDiffComputer
                     // TODO : handle the exception
                 }
 
-                modificationEntry.addModificationItem( modification );
+                modificationEntry.addModification( modification );
             }
         }
     }



Mime
View raw message