Renamed NullTokenizer and Analyzer to WhitespaceTokenizer and Analyzer.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149645 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Doug Cutting 2002-01-24 19:03:52 +00:00
parent 2ae22a31e3
commit d0473acefc
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ public class TestAnalyzers extends TestCase {
}
public void testNull() throws Exception {
Analyzer a = new NullAnalyzer();
Analyzer a = new WhitespaceAnalyzer();
assertAnalyzesTo(a, "foo bar FOO BAR",
new String[] { "foo", "bar", "FOO", "BAR" });
assertAnalyzesTo(a, "foo bar . FOO <> BAR",

View File

@ -178,7 +178,7 @@ public class TestQueryParser extends TestCase {
}
public void testPunct() throws Exception {
Analyzer a = new NullAnalyzer();
Analyzer a = new WhitespaceAnalyzer();
assertQueryEquals("a&b", a, "a&b");
assertQueryEquals("a&&b", a, "a&&b");
assertQueryEquals(".NET", a, ".NET");