don't use the deprecated API for Booleanquery.add() anymore

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150467 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Naber 2004-08-30 20:49:34 +00:00
parent 4135d1f851
commit 0acf48a99e
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ public class TestBooleanPrefixQuery extends TestCase {
rw1 = query.rewrite(reader);
BooleanQuery bq = new BooleanQuery();
bq.add(query, true, false);
bq.add(query, BooleanClause.Occur.MUST);
rw2 = bq.rewrite(reader);
} catch (IOException e) {