directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1673019 - /directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/DatabasesDetailsPage.java
Date Sun, 12 Apr 2015 15:23:25 GMT
Author: elecharny
Date: Sun Apr 12 15:23:24 2015
New Revision: 1673019

URL: http://svn.apache.org/r1673019
Log:
Add the new synrepl consumer in the existing list, instead of replacing the existing one

Modified:
    directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/DatabasesDetailsPage.java

Modified: directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/DatabasesDetailsPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/DatabasesDetailsPage.java?rev=1673019&r1=1673018&r2=1673019&view=diff
==============================================================================
--- directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/DatabasesDetailsPage.java
(original)
+++ directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/DatabasesDetailsPage.java
Sun Apr 12 15:23:24 2015
@@ -1342,8 +1342,9 @@ public class DatabasesDetailsPage implem
                 {
                     String newSyncReplValue = dialog.getSyncRepl().toString();
 
-                    databaseWrapper.getDatabase().getOlcSyncrepl().add( newSyncReplValue
);
+                    databaseWrapper.getDatabase().addOlcSyncrepl( newSyncReplValue );
                     refreshReplicationConsumersTableViewer();
+                    
                     replicationConsumersTableViewer.setSelection( new StructuredSelection(
newSyncReplValue ) );
                     setEditorDirty();
                 }



Mime
View raw message