directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r819279 - /directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/entryeditors/EntryEditorManager.java
Date Sun, 27 Sep 2009 09:29:51 GMT
Author: seelmann
Date: Sun Sep 27 09:28:33 2009
New Revision: 819279

URL: http://svn.apache.org/viewvc?rev=819279&view=rev
Log:
Removed helper method

Modified:
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/entryeditors/EntryEditorManager.java

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/entryeditors/EntryEditorManager.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/entryeditors/EntryEditorManager.java?rev=819279&r1=819278&r2=819279&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/entryeditors/EntryEditorManager.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/entryeditors/EntryEditorManager.java
Sun Sep 27 09:28:33 2009
@@ -867,7 +867,7 @@
                 // auto-save working copy has been modified: save and inform all auto-save
editors
                 IEntry autoSaveSharedReferenceCopy = autoSaveSharedReferenceCopies.get( originalEntry
);
                 IEntry autoSaveSharedWorkingCopy = autoSaveSharedWorkingCopies.get( originalEntry
);
-                LdifChangeModifyRecord diff = getDiff( autoSaveSharedReferenceCopy, autoSaveSharedWorkingCopy
);
+                LdifChangeModifyRecord diff = Utils.computeDiff( autoSaveSharedReferenceCopy,
autoSaveSharedWorkingCopy );
                 if ( diff != null )
                 {
                     ExecuteLdifRunnable runnable = new ExecuteLdifRunnable( browserConnection,
diff
@@ -888,10 +888,5 @@
         }
 
 
-        private LdifChangeModifyRecord getDiff( IEntry originalEntry, IEntry modifiedEntry
)
-        {
-            LdifChangeModifyRecord record = Utils.computeDiff( originalEntry, modifiedEntry
);
-            return record;
-        }
     };
 }



Mime
View raw message