directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ersi...@apache.org
Subject svn commit: r552339 - /directory/shared/trunk/ldap/src/main/antlr/subtree-specification.g
Date Sun, 01 Jul 2007 17:18:59 GMT
Author: ersiner
Date: Sun Jul  1 10:18:59 2007
New Revision: 552339

URL: http://svn.apache.org/viewvc?view=rev&rev=552339
Log:
Workaround commit for DIRSERVER-916. Will better fix after resolving DIRSERVER-986.

Modified:
    directory/shared/trunk/ldap/src/main/antlr/subtree-specification.g

Modified: directory/shared/trunk/ldap/src/main/antlr/subtree-specification.g
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/antlr/subtree-specification.g?view=diff&rev=552339&r1=552338&r2=552339
==============================================================================
--- directory/shared/trunk/ldap/src/main/antlr/subtree-specification.g (original)
+++ directory/shared/trunk/ldap/src/main/antlr/subtree-specification.g Sun Jul  1 10:18:59
2007
@@ -80,7 +80,7 @@
 {
     private static final Logger log = LoggerFactory.getLogger( AntlrSubtreeSpecificationParser.class
);
     
-    private final FilterParserImpl filterParser = new FilterParserImpl();
+    private FilterParserImpl filterParser;
     
     private NormalizerMappingResolver resolver;
     
@@ -162,6 +162,8 @@
             new String [] { "base", "specificExclusions", "minimum", "maximum", "specificationFilter"
} );
     chopBeforeExclusions = new HashSet();
     chopAfterExclusions = new HashSet();
+    // always create a new filter parser in case we may have some statefulness problems with
it
+    filterParser = new FilterParserImpl();
 }
     :
     OPEN_CURLY ( SP )*



Mime
View raw message