Mailing List Archive

cvs commit: jakarta-lucene/src/java/org/apache/lucene/search FilteredQuery.java
tjones 2004/04/21 13:15:55

Modified: src/java/org/apache/lucene/search FilteredQuery.java
Log:
fix the toString(s) - thanks, Erik!

Revision Changes Path
1.2 +2 -2 jakarta-lucene/src/java/org/apache/lucene/search/FilteredQuery.java

Index: FilteredQuery.java
===================================================================
RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/FilteredQuery.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- FilteredQuery.java 21 Apr 2004 19:18:44 -0000 1.1
+++ FilteredQuery.java 21 Apr 2004 20:15:55 -0000 1.2
@@ -102,7 +102,7 @@

/** Prints a user-readable version of this query. */
public String toString (String s) {
- return "filtered("+query.toString()+")";
+ return "filtered("+query.toString(s)+")";
}

/** Returns true iff <code>o</code> is equal to this. */




---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org