lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dna...@apache.org
Subject svn commit: r239737 - in /lucene/java/trunk/src/java/org/apache/lucene/queryParser: QueryParser.java QueryParser.jj
Date Wed, 24 Aug 2005 19:32:07 GMT
Author: dnaber
Date: Wed Aug 24 12:31:59 2005
New Revision: 239737

URL: http://svn.apache.org/viewcvs?rev=239737&view=rev
Log:
mention that QueryParser is not thread-safe; don't refer to deprecated method in javadoc

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParser.java
    lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParser.jj

Modified: lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParser.java
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParser.java?rev=239737&r1=239736&r2=239737&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParser.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParser.java Wed Aug 24 12:31:59
2005
@@ -12,8 +12,8 @@
 import org.apache.lucene.util.Parameter;
 
 /**
- * This class is generated by JavaCC.  The only method that clients should need
- * to call is {@link #parse(String)} or {@link #parse(String, String, Analyzer)}.
+ * This class is generated by JavaCC.  The most important method is
+ * {@link #parse(String)}.
  *
  * The syntax for query strings is as follows:
  * A Query is a series of clauses.
@@ -44,6 +44,8 @@
  * href="http://lucene.apache.org/java/docs/queryparsersyntax.html">query syntax
  * documentation</a>.
  * </p>
+ *
+ * <p>Note that QueryParser is <em>not</em> thread-safe.</p>
  *
  * @author Brian Goetz
  * @author Peter Halacsy

Modified: lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParser.jj
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParser.jj?rev=239737&r1=239736&r2=239737&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParser.jj (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParser.jj Wed Aug 24 12:31:59
2005
@@ -35,8 +35,8 @@
 import org.apache.lucene.util.Parameter;
 
 /**
- * This class is generated by JavaCC.  The only method that clients should need
- * to call is {@link #parse(String)} or {@link #parse(String, String, Analyzer)}.
+ * This class is generated by JavaCC.  The most important method is
+ * {@link #parse(String)}.
  *
  * The syntax for query strings is as follows:
  * A Query is a series of clauses.
@@ -67,6 +67,8 @@
  * href="http://lucene.apache.org/java/docs/queryparsersyntax.html">query syntax
  * documentation</a>.
  * </p>
+ *
+ * <p>Note that QueryParser is <em>not</em> thread-safe.</p>
  *
  * @author Brian Goetz
  * @author Peter Halacsy



Mime
View raw message