directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1071340 - /directory/studio/branches/m1/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/jndi/LdifModificationLogger.java
Date Wed, 16 Feb 2011 18:06:56 GMT
Author: elecharny
Date: Wed Feb 16 18:06:56 2011
New Revision: 1071340

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

Modified:
    directory/studio/branches/m1/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/jndi/LdifModificationLogger.java

Modified: directory/studio/branches/m1/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/jndi/LdifModificationLogger.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/m1/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/jndi/LdifModificationLogger.java?rev=1071340&r1=1071339&r2=1071340&view=diff
==============================================================================
--- directory/studio/branches/m1/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/jndi/LdifModificationLogger.java
(original)
+++ directory/studio/branches/m1/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/jndi/LdifModificationLogger.java
Wed Feb 16 18:06:56 2011
@@ -56,7 +56,6 @@ import org.apache.directory.studio.conne
 import org.apache.directory.studio.connection.core.ConnectionCoreConstants;
 import org.apache.directory.studio.connection.core.ConnectionCorePlugin;
 import org.apache.directory.studio.connection.core.ConnectionManager;
-import org.apache.directory.studio.connection.core.DnUtils;
 import org.apache.directory.studio.connection.core.IJndiLogger;
 import org.apache.directory.studio.ldifparser.LdifFormatParameters;
 import org.apache.directory.studio.ldifparser.model.container.LdifChangeAddRecord;
@@ -423,7 +422,7 @@ public class LdifModificationLogger impl
         {
             Dn dn = new Dn( newDn );
             Rdn newrdn = dn.getRdn();
-            Dn newsuperior = DnUtils.getParent( dn );
+            Dn newsuperior = dn.getParent();
 
             LdifChangeModDnRecord record = new LdifChangeModDnRecord( LdifDnLine.create(
oldDn ) );
             addControlLines( record, controls );



Mime
View raw message