From e37ecd1c2fe7616e98ec89ed840ffafdd50c9e01 Mon Sep 17 00:00:00 2001 From: Daniel Naber Date: Fri, 13 Aug 2004 18:38:44 +0000 Subject: [PATCH] remove two variables that were never used git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150423 13f79535-47bb-0310-9956-ffa450edef68 --- src/test/org/apache/lucene/search/TestTermVectors.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/test/org/apache/lucene/search/TestTermVectors.java b/src/test/org/apache/lucene/search/TestTermVectors.java index 4b0590e6d03..f472ee348b5 100644 --- a/src/test/org/apache/lucene/search/TestTermVectors.java +++ b/src/test/org/apache/lucene/search/TestTermVectors.java @@ -41,7 +41,6 @@ public class TestTermVectors extends TestCase { = new IndexWriter(directory, new SimpleAnalyzer(), true); //writer.setUseCompoundFile(true); //writer.infoStream = System.out; - StringBuffer buffer = new StringBuffer(); for (int i = 0; i < 1000; i++) { Document doc = new Document(); doc.add(Field.Text("field", English.intToEnglish(i), true)); @@ -99,8 +98,6 @@ public class TestTermVectors extends TestCase { } public void testKnownSetOfDocuments() { - String [] termArray = {"eating", "chocolate", "in", "a", "computer", "lab", "grows", "old", "colored", - "with", "an"}; String test1 = "eating chocolate in a computer lab"; //6 terms String test2 = "computer in a computer lab"; //5 terms String test3 = "a chocolate lab grows old"; //5 terms