directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1604664 - /directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/url/LdapUrl.java
Date Sun, 22 Jun 2014 23:12:15 GMT
Author: elecharny
Date: Sun Jun 22 23:12:14 2014
New Revision: 1604664

URL: http://svn.apache.org/r1604664
Log:
Fixed a bad limit test

Modified:
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/url/LdapUrl.java

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/url/LdapUrl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/url/LdapUrl.java?rev=1604664&r1=1604663&r2=1604664&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/url/LdapUrl.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/url/LdapUrl.java
Sun Jun 22 23:12:14 2014
@@ -623,7 +623,7 @@ public class LdapUrl
     {
         int start = pos;
         
-        while ( !Chars.isCharASCII( chars, pos, ':' ) && !Chars.isCharASCII( chars,
pos, '/' ) )
+        while ( !Chars.isCharASCII( chars, pos, ':' ) && !Chars.isCharASCII( chars,
pos, '/' ) && ( pos < chars.length ) )
         {
             switch ( chars[pos] )
             {



Mime
View raw message