From 4ff370aaa32bc7f1dac5afe9374bf63da4ec0544 Mon Sep 17 00:00:00 2001 From: Wolfgang Hoschek Date: Mon, 5 Dec 2005 07:10:24 +0000 Subject: [PATCH] javadoc cosmetics git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@354000 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/java/org/apache/lucene/index/memory/AnalyzerUtil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/memory/src/java/org/apache/lucene/index/memory/AnalyzerUtil.java b/contrib/memory/src/java/org/apache/lucene/index/memory/AnalyzerUtil.java index 9ea742de78b..1ae74fdac4f 100644 --- a/contrib/memory/src/java/org/apache/lucene/index/memory/AnalyzerUtil.java +++ b/contrib/memory/src/java/org/apache/lucene/index/memory/AnalyzerUtil.java @@ -104,7 +104,7 @@ public class AnalyzerUtil { * @return an analyzer wrapper */ public static Analyzer getMaxTokenAnalyzer( - final Analyzer child, final int maxTokens, final int maxChars) { + final Analyzer child, final int maxTokens) { if (child == null) throw new IllegalArgumentException("child analyzer must not be null"); @@ -176,6 +176,7 @@ public class AnalyzerUtil { * @param maxSynonyms * the maximum number of synonym tokens to return per underlying * token word (a value of Integer.MAX_VALUE indicates unlimited) + * @return a new analyzer */ public static Analyzer getSynonymAnalyzer(final Analyzer child, final SynonymMap synonyms, final int maxSynonyms) {