From 70d40bc3affce3f4dbe0fe8e12c2d63cf94d8382 Mon Sep 17 00:00:00 2001 From: Magese Date: Tue, 4 Jan 2022 09:51:21 +0800 Subject: [PATCH] Using final. --- src/main/java/org/wltea/analyzer/lucene/IKAnalyzer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/wltea/analyzer/lucene/IKAnalyzer.java b/src/main/java/org/wltea/analyzer/lucene/IKAnalyzer.java index a0c3b92..d48e544 100644 --- a/src/main/java/org/wltea/analyzer/lucene/IKAnalyzer.java +++ b/src/main/java/org/wltea/analyzer/lucene/IKAnalyzer.java @@ -36,7 +36,7 @@ import org.apache.lucene.analysis.Tokenizer; @SuppressWarnings("unused") public final class IKAnalyzer extends Analyzer { - private boolean useSmart; + private final boolean useSmart; private boolean useSmart() { return useSmart;