lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [1/2] lucenenet git commit: remove redundant termAtt initialization in UpperCaseFilter constructor
Date Fri, 15 Jun 2018 00:05:52 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master 199fab066 -> 1fdea4e86


remove redundant termAtt initialization in UpperCaseFilter constructor


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/8041c9a7
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/8041c9a7
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/8041c9a7

Branch: refs/heads/master
Commit: 8041c9a70586f02e17a10888b845ac7683d035cf
Parents: a3a1296
Author: Igor Brylin <brylin.i@ati.su>
Authored: Wed Feb 7 14:01:19 2018 +0300
Committer: Igor Brylin <brylin.i@ati.su>
Committed: Wed Feb 7 14:01:19 2018 +0300

----------------------------------------------------------------------
 src/Lucene.Net.Analysis.Common/Analysis/Core/UpperCaseFilter.cs | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/8041c9a7/src/Lucene.Net.Analysis.Common/Analysis/Core/UpperCaseFilter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Core/UpperCaseFilter.cs b/src/Lucene.Net.Analysis.Common/Analysis/Core/UpperCaseFilter.cs
index 0e65be6..f598858 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Core/UpperCaseFilter.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Core/UpperCaseFilter.cs
@@ -47,7 +47,6 @@ namespace Lucene.Net.Analysis.Core
             : base(@in)
         {
             termAtt = AddAttribute<ICharTermAttribute>();
-            termAtt = AddAttribute<ICharTermAttribute>();
             charUtils = CharacterUtils.GetInstance(matchVersion);
         }
 


Mime
View raw message