directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r733844 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/RdnParser.java
Date Mon, 12 Jan 2009 17:16:33 GMT
Author: elecharny
Date: Mon Jan 12 09:16:10 2009
New Revision: 733844

URL: http://svn.apache.org/viewvc?rev=733844&view=rev
Log:
Fix for DIRSHARED-21. A missing cleanup in some very specific case just move the cursor one
step too far.

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/RdnParser.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/RdnParser.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/RdnParser.java?rev=733844&r1=733843&r2=733844&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/RdnParser.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/name/RdnParser.java
Mon Jan 12 09:16:10 2009
@@ -785,6 +785,7 @@
             if ( StringTools.isCharASCII( bytes, pos.end, '+' ) )
             {
                 pos.start++;
+                pos.length = 0;
             }
             else
             {



Mime
View raw message