make deprecated tests compile again

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@164843 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Naber 2005-04-26 18:01:09 +00:00
parent 790dfc1490
commit 335606ec82
1 changed files with 2 additions and 1 deletions

View File

@ -86,7 +86,8 @@ class TermInfosTest {
Directory store = FSDirectory.getDirectory("test.store", true);
FieldInfos fis = new FieldInfos();
TermInfosWriter writer = new TermInfosWriter(store, "words", fis);
TermInfosWriter writer = new TermInfosWriter(store, "words", fis,
IndexWriter.DEFAULT_TERM_INDEX_INTERVAL);
fis.add("word", false);
for (int i = 0; i < keys.size(); i++)