You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2007/08/16 18:21:01 UTC
svn commit: r566760 -
/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParserImpl.java
Author: akarasulu
Date: Thu Aug 16 09:21:00 2007
New Revision: 566760
URL: http://svn.apache.org/viewvc?view=rev&rev=566760
Log:
making filter parser use the special parser pipe input stream
Modified:
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParserImpl.java
Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParserImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParserImpl.java?view=diff&rev=566760&r1=566759&r2=566760
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParserImpl.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParserImpl.java Thu Aug 16 09:21:00 2007
@@ -21,7 +21,6 @@
import java.io.PipedOutputStream;
-import java.io.PipedInputStream;
import java.io.IOException;
import java.text.ParseException;
@@ -29,6 +28,7 @@
import org.apache.directory.shared.ldap.filter.AntlrFilterParser;
import org.apache.directory.shared.ldap.filter.AntlrFilterValueLexer;
import org.apache.directory.shared.ldap.filter.AntlrFilterValueParser;
+import org.apache.directory.shared.ldap.util.ParserPipedInputStream;
import org.apache.directory.shared.ldap.util.StringTools;
import antlr.LexerSharedInputState;
@@ -70,7 +70,7 @@
{
// build the pipe used to feed the parser data and reusing it
this.parserPipe = new PipedOutputStream();
- PipedInputStream pipeTail = new PipedInputStream();
+ ParserPipedInputStream pipeTail = new ParserPipedInputStream();
try
{
@@ -78,7 +78,7 @@
}
catch ( IOException e )
{
- // this never blows chuncks and if it does we report!
+ // this never blows chunks and if it does we report!
throw new InternalError();
}