directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r924906 - /directory/shared/trunk/ldap-ldif/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java
Date Thu, 18 Mar 2010 17:25:07 GMT
Author: elecharny
Date: Thu Mar 18 17:25:07 2010
New Revision: 924906

URL: http://svn.apache.org/viewvc?rev=924906&view=rev
Log:
The LdifReader.close() method wasn't reseting the global flags to false

Modified:
    directory/shared/trunk/ldap-ldif/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java

Modified: directory/shared/trunk/ldap-ldif/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-ldif/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java?rev=924906&r1=924905&r2=924906&view=diff
==============================================================================
--- directory/shared/trunk/ldap-ldif/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java
(original)
+++ directory/shared/trunk/ldap-ldif/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java
Thu Mar 18 17:25:07 2010
@@ -1620,6 +1620,7 @@ public class LdifReader implements Itera
         }
         catch ( LdapException le )
         {
+            le.printStackTrace();
             throw new LdapLdifException( le.getMessage() );
         }
         finally
@@ -1911,6 +1912,8 @@ public class LdifReader implements Itera
         {
             position = new Position();
             reader.close();
+            containsEntries = false;
+            containsChanges = false;
         }
     }
 }



Mime
View raw message