From 8041c9a70586f02e17a10888b845ac7683d035cf Mon Sep 17 00:00:00 2001 From: Igor Brylin Date: Wed, 7 Feb 2018 14:01:19 +0300 Subject: [PATCH] remove redundant termAtt initialization in UpperCaseFilter constructor --- src/Lucene.Net.Analysis.Common/Analysis/Core/UpperCaseFilter.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Core/UpperCaseFilter.cs b/src/Lucene.Net.Analysis.Common/Analysis/Core/UpperCaseFilter.cs index 0e65be6f91..f598858daa 100644 --- a/src/Lucene.Net.Analysis.Common/Analysis/Core/UpperCaseFilter.cs +++ b/src/Lucene.Net.Analysis.Common/Analysis/Core/UpperCaseFilter.cs @@ -46,7 +46,6 @@ public sealed class UpperCaseFilter : TokenFilter public UpperCaseFilter(LuceneVersion matchVersion, TokenStream @in) : base(@in) { - termAtt = AddAttribute(); termAtt = AddAttribute(); charUtils = CharacterUtils.GetInstance(matchVersion); }