directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r900043 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java
Date Sun, 17 Jan 2010 01:20:38 GMT
Author: elecharny
Date: Sun Jan 17 01:20:37 2010
New Revision: 900043

URL: http://svn.apache.org/viewvc?rev=900043&view=rev
Log:
The position wasn't reset when the reader was closed

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

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java?rev=900043&r1=900042&r2=900043&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifReader.java
Sun Jan 17 01:20:37 2010
@@ -1881,6 +1881,7 @@
     {
         if ( reader != null )
         {
+            position = new Position();
             reader.close();
         }
     }



Mime
View raw message