avoid deprecated method call

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150728 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Naber 2005-01-03 17:05:31 +00:00
parent 55bfcc6d47
commit 1129d547da
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ public class TestMultiAnalyzer extends TestCase {
assertEquals("\"(multi multi2) foo\"^2.0", qp.parse("\"multi foo\"^2").toString());
// non-default operator:
qp.setOperator(QueryParser.DEFAULT_OPERATOR_AND);
qp.setDefaultOperator(QueryParser.AND_OPERATOR);
assertEquals("+(multi multi2) +foo", qp.parse("multi foo").toString());
}