directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r151362 - incubator/directory/ldap/trunk/common/src/antlr/valueparser.g
Date Fri, 04 Feb 2005 15:28:57 GMT
Author: adc
Date: Fri Feb  4 07:28:56 2005
New Revision: 151362

URL: http://svn.apache.org/viewcvs?view=rev&rev=151362
Log:
Prematurely trimming.

Modified:
    incubator/directory/ldap/trunk/common/src/antlr/valueparser.g

Modified: incubator/directory/ldap/trunk/common/src/antlr/valueparser.g
URL: http://svn.apache.org/viewcvs/incubator/directory/ldap/trunk/common/src/antlr/valueparser.g?view=diff&r1=151361&r2=151362
==============================================================================
--- incubator/directory/ldap/trunk/common/src/antlr/valueparser.g (original)
+++ incubator/directory/ldap/trunk/common/src/antlr/valueparser.g Fri Feb  4 07:28:56 2005
@@ -68,7 +68,7 @@
         // normalization is crittical for simple string values.
         //
 
-        String l_value = tok0.getText().trim() ;
+        String l_value = tok0.getText() ;
 
         if ( m_normalizer != null ) 
         {
@@ -119,7 +119,7 @@
     }
     )+
     {
-        l_val = l_buf.toString() ;
+        l_val = l_buf.toString().trim() ;
     } 
 	;
     exception 



Mime
View raw message