From 5bdd017e73e203539b7b5f94fa3c109dc5bbaea5 Mon Sep 17 00:00:00 2001 From: Christine Poerschke Date: Tue, 8 Aug 2017 09:20:12 +0100 Subject: [PATCH] Fix trivial warning in LowerCaseTokenizerFactory. --- .../apache/lucene/analysis/core/LowerCaseTokenizerFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/LowerCaseTokenizerFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/LowerCaseTokenizerFactory.java index a3e06c7a608..44e27429b63 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/LowerCaseTokenizerFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/LowerCaseTokenizerFactory.java @@ -68,7 +68,7 @@ public class LowerCaseTokenizerFactory extends TokenizerFactory implements Multi @Override public AbstractAnalysisFactory getMultiTermComponent() { - Map map = new HashMap<>(getOriginalArgs()); + Map map = new HashMap<>(getOriginalArgs()); map.remove("maxTokenLen"); //removing "maxTokenLen" argument for LowerCaseFilterFactory init return new LowerCaseFilterFactory(map); }