From 2216c0dee30ddf0bff2ba7950fc6d67a4418763b Mon Sep 17 00:00:00 2001 From: Erik Hatcher Date: Thu, 9 Oct 2003 00:08:52 +0000 Subject: [PATCH] minor javadoc fixup and add question comment git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150084 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/lucene/analysis/de/GermanAnalyzer.java | 3 ++- src/java/org/apache/lucene/analysis/de/GermanStemmer.java | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/java/org/apache/lucene/analysis/de/GermanAnalyzer.java b/src/java/org/apache/lucene/analysis/de/GermanAnalyzer.java index 997acd2d26a..6dd4d0cd56f 100644 --- a/src/java/org/apache/lucene/analysis/de/GermanAnalyzer.java +++ b/src/java/org/apache/lucene/analysis/de/GermanAnalyzer.java @@ -169,7 +169,8 @@ public class GermanAnalyzer extends Analyzer { TokenStream result = new StandardTokenizer( reader ); result = new StandardFilter( result ); - result = new StopFilter( result, stoptable ); + // shouldn't there be a lowercaser before stop word filtering? + result = new StopFilter( result, stoptable ); result = new GermanStemFilter( result, excltable ); return result; } diff --git a/src/java/org/apache/lucene/analysis/de/GermanStemmer.java b/src/java/org/apache/lucene/analysis/de/GermanStemmer.java index 3260aee3404..dd4ec0b2ac2 100644 --- a/src/java/org/apache/lucene/analysis/de/GermanStemmer.java +++ b/src/java/org/apache/lucene/analysis/de/GermanStemmer.java @@ -165,8 +165,6 @@ public class GermanStemmer /** * Does some optimizations on the term. This optimisations are * contextual. - * - * @return The term with the optimizations applied. */ private void optimize( StringBuffer buffer ) {