directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r359009 - /directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/name/DNParser.java
Date Sun, 25 Dec 2005 22:11:09 GMT
Author: elecharny
Date: Sun Dec 25 14:11:05 2005
New Revision: 359009

URL: http://svn.apache.org/viewcvs?rev=359009&view=rev
Log:
Changed from RDNParser to RdnParser

Modified:
    directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/name/DNParser.java

Modified: directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/name/DNParser.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/name/DNParser.java?rev=359009&r1=359008&r2=359009&view=diff
==============================================================================
--- directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/name/DNParser.java
(original)
+++ directory/shared/ldap/branches/DN-refactoring/common/src/main/java/org/apache/ldap/common/name/DNParser.java
Sun Dec 25 14:11:05 2005
@@ -96,11 +96,11 @@
         }
         
         int pos = 0;
-        LdapRDN rdn = new LdapRDN();
+        Rdn rdn = new Rdn();
 
         // <name>             ::= <name-component> <name-components>
         // <name-components> ::= <spaces> <separator> <spaces> <name-component>
<name-components> | e
-        if ( ( pos = RDNParser.parse( chars, pos, rdn ) ) != DNUtils.PARSING_ERROR )
+        if ( ( pos = RdnParser.parse( chars, pos, rdn ) ) != DNUtils.PARSING_ERROR )
         {
             do
             {
@@ -119,7 +119,7 @@
 
                 //pos = StringUtils.trimLeft( chars, pos );
             }
-            while ( ( pos = RDNParser.parse( chars, pos, rdn ) ) != DNUtils.PARSING_ERROR
);
+            while ( ( pos = RdnParser.parse( chars, pos, rdn ) ) != DNUtils.PARSING_ERROR
);
         }
         else
         {



Mime
View raw message