directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r1028324 - /directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/store/LdifFileLoader.java
Date Thu, 28 Oct 2010 14:37:16 GMT
Author: felixk
Date: Thu Oct 28 14:37:15 2010
New Revision: 1028324

URL: http://svn.apache.org/viewvc?rev=1028324&view=rev
Log:
Fix DIRSERVER-1568
Thanks to Andrew Swan for pointing.

Modified:
    directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/store/LdifFileLoader.java

Modified: directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/store/LdifFileLoader.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/store/LdifFileLoader.java?rev=1028324&r1=1028323&r2=1028324&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/store/LdifFileLoader.java
(original)
+++ directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/store/LdifFileLoader.java
Thu Oct 28 14:37:15 2010
@@ -168,7 +168,6 @@ public class LdifFileLoader
      */
     public int execute()
     {
-        DN rdn = null;
         InputStream in = null;
 
         try
@@ -192,7 +191,7 @@ public class LdifFileLoader
                     try
                     {
                         coreSession.lookup( dn );
-                        log.info( "Found {}, will not create.", rdn );
+                        log.info( "Found {}, will not create.", dn );
                     }
                     catch ( Exception e )
                     {
@@ -202,7 +201,7 @@ public class LdifFileLoader
                                 new DefaultEntry( 
                                     coreSession.getDirectoryService().getSchemaManager(),
entry ) ); 
                            count++;
-                            log.info( "Created {}.", rdn );
+                            log.info( "Created {}.", dn );
                         } 
                         catch ( LdapException e1 )
                         {



Mime
View raw message