directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1071345 - /directory/studio/branches/m1/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/MoveEntriesDialog.java
Date Wed, 16 Feb 2011 18:09:31 GMT
Author: elecharny
Date: Wed Feb 16 18:09:31 2011
New Revision: 1071345

URL: http://svn.apache.org/viewvc?rev=1071345&view=rev
Log:
Used the Dn.getParent() method

Modified:
    directory/studio/branches/m1/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/MoveEntriesDialog.java

Modified: directory/studio/branches/m1/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/MoveEntriesDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/m1/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/MoveEntriesDialog.java?rev=1071345&r1=1071344&r2=1071345&view=diff
==============================================================================
--- directory/studio/branches/m1/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/MoveEntriesDialog.java
(original)
+++ directory/studio/branches/m1/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/MoveEntriesDialog.java
Wed Feb 16 18:09:31 2011
@@ -23,7 +23,6 @@ package org.apache.directory.studio.ldap
 
 import org.apache.directory.shared.ldap.model.name.Dn;
 import org.apache.directory.studio.common.ui.widgets.BaseWidgetUtils;
-import org.apache.directory.studio.connection.core.DnUtils;
 import org.apache.directory.studio.ldapbrowser.common.widgets.DnBuilderWidget;
 import org.apache.directory.studio.ldapbrowser.common.widgets.WidgetModifyEvent;
 import org.apache.directory.studio.ldapbrowser.common.widgets.WidgetModifyListener;
@@ -135,7 +134,7 @@ public class MoveEntriesDialog extends D
         dnBuilderWidget.addWidgetModifyListener( this );
         dnBuilderWidget.createContents( composite );
         dnBuilderWidget
-            .setInput( entries[0].getBrowserConnection(), null, null, DnUtils.getParent(
entries[0].getDn() ) );
+            .setInput( entries[0].getBrowserConnection(), null, null, entries[0].getDn().getParent()
);
 
         applyDialogFont( composite );
         return composite;



Mime
View raw message