lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [18/50] [abbrv] lucenenet git commit: Cleanup commented code in SynonymFilter and SynonymMap
Date Tue, 23 Aug 2016 23:18:11 GMT
Cleanup commented code in SynonymFilter and SynonymMap


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

Branch: refs/heads/analysis-work
Commit: a153b02cff3986deefabb6ad0f9e5dce6cdac7d6
Parents: dae551f
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sat Aug 20 19:18:13 2016 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Sat Aug 20 19:18:13 2016 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Analysis.Common/Analysis/Synonym/SynonymFilter.cs | 3 ---
 src/Lucene.Net.Analysis.Common/Analysis/Synonym/SynonymMap.cs    | 1 -
 2 files changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a153b02c/src/Lucene.Net.Analysis.Common/Analysis/Synonym/SynonymFilter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Synonym/SynonymFilter.cs b/src/Lucene.Net.Analysis.Common/Analysis/Synonym/SynonymFilter.cs
index 75c3039..d1ef34e 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Synonym/SynonymFilter.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Synonym/SynonymFilter.cs
@@ -179,8 +179,6 @@ namespace Lucene.Net.Analysis.Synonym
                 Debug.Assert(upto < count);
                 lastEndOffset = endOffsets[upto];
                 lastPosLength = posLengths[upto];
-                //JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
-                //ORIGINAL LINE: final org.apache.lucene.util.CharsRef result = outputs[upto++];
                 CharsRef result = outputs[upto++];
                 posIncr = 0;
                 if (upto == count)
@@ -468,7 +466,6 @@ namespace Lucene.Net.Analysis.Synonym
                 }
 
                 curNextRead = rollIncr(curNextRead);
-                //byTokenContinue:;
             }
             byTokenBreak:
 

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a153b02c/src/Lucene.Net.Analysis.Common/Analysis/Synonym/SynonymMap.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Synonym/SynonymMap.cs b/src/Lucene.Net.Analysis.Common/Analysis/Synonym/SynonymMap.cs
index 9e05dc9..4bfb007 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Synonym/SynonymMap.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Synonym/SynonymMap.cs
@@ -254,7 +254,6 @@ namespace Lucene.Net.Analysis.Synonym
 
                 IEnumerable<CharsRef> keys = workingSet.Keys;
                 CharsRef[] sortedKeys = keys.ToArray();
-                //Arrays.Sort(sortedKeys, CharsRef.UTF16SortedAsUTF8Comparer);
                 System.Array.Sort(sortedKeys, CharsRef.UTF16SortedAsUTF8Comparer);
 
 


Mime
View raw message