directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 56789 - incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/name
Date Sat, 06 Nov 2004 23:58:55 GMT
Author: akarasulu
Date: Sat Nov  6 15:58:54 2004
New Revision: 56789

Modified:
   incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/name/DnParser.java
Log:
cleaning up some redundant calls

Modified: incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/name/DnParser.java
==============================================================================
--- incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/name/DnParser.java
(original)
+++ incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/name/DnParser.java
Sat Nov  6 15:58:54 2004
@@ -130,11 +130,9 @@
         // Create lexers and add them to the selector.
         antlrTypeLexer typeLexer = new antlrTypeLexer( in ) ;
         this.m_selector.addInputStream( typeLexer, antlrTypeLexer.LEXER_KEY ) ;
-        typeLexer.setSelector( this.m_selector ) ;
 
         antlrValueLexer valueLexer = new antlrValueLexer( typeLexer.getInputState() ) ;
         this.m_selector.addInputStream( valueLexer, antlrValueLexer.LEXER_KEY ) ;
-        typeLexer.setSelector( this.m_selector ) ;
 
         // Set selector on lexers, select initial lexer and initalize parser
         typeLexer.setSelector( this.m_selector ) ;

Mime
View raw message