lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [34/50] [abbrv] lucenenet git commit: Lucene.Net.Tests.Core.Index.TestTermVectorsReader.TestPositionReader(): commented unused terms variable
Date Wed, 25 Jan 2017 03:44:18 GMT
Lucene.Net.Tests.Core.Index.TestTermVectorsReader.TestPositionReader(): commented unused terms
variable


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

Branch: refs/heads/api-work
Commit: f55556ac4d893f5bd62c01cc685929e076898bc3
Parents: 49fa531
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Jan 25 06:11:39 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Jan 25 09:34:48 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Tests/core/Index/TestTermVectorsReader.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f55556ac/src/Lucene.Net.Tests/core/Index/TestTermVectorsReader.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestTermVectorsReader.cs b/src/Lucene.Net.Tests/core/Index/TestTermVectorsReader.cs
index e0442c5..cb39326 100644
--- a/src/Lucene.Net.Tests/core/Index/TestTermVectorsReader.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestTermVectorsReader.cs
@@ -299,7 +299,7 @@ namespace Lucene.Net.Index
         public virtual void TestPositionReader()
         {
             TermVectorsReader reader = Codec.Default.TermVectorsFormat.VectorsReader(Dir,
Seg.Info, FieldInfos, NewIOContext(Random()));
-            BytesRef[] terms;
+            //BytesRef[] terms; // LUCENENET NOTE: Not used in Lucene
             Terms vector = reader.Get(0).Terms(TestFields[0]);
             Assert.IsNotNull(vector);
             Assert.AreEqual(TestTerms.Length, vector.Count);


Mime
View raw message