lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [2/4] lucenenet git commit: couple more sealed IncrementToken changes
Date Sat, 16 May 2015 17:29:11 GMT
couple more sealed IncrementToken changes


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

Branch: refs/heads/master
Commit: 2473bbf4ec01c77652e52b946737a95fbe6f11fe
Parents: 37c4003
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Sat May 16 12:03:03 2015 -0400
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Sat May 16 12:03:03 2015 -0400

----------------------------------------------------------------------
 .../Taxonomy/Directory/DirectoryTaxonomyWriter.cs               | 2 +-
 .../Taxonomy/Directory/TestDirectoryTaxonomyWriter.cs           | 5 -----
 src/Lucene.Net.Tests/core/Index/TestIndexWriter.cs              | 2 +-
 src/Lucene.Net.Tests/core/Index/TestTermdocPerf.cs              | 2 +-
 4 files changed, 3 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/2473bbf4/src/Lucene.Net.Facet/Taxonomy/Directory/DirectoryTaxonomyWriter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Facet/Taxonomy/Directory/DirectoryTaxonomyWriter.cs b/src/Lucene.Net.Facet/Taxonomy/Directory/DirectoryTaxonomyWriter.cs
index 7cbe885..8ead122 100644
--- a/src/Lucene.Net.Facet/Taxonomy/Directory/DirectoryTaxonomyWriter.cs
+++ b/src/Lucene.Net.Facet/Taxonomy/Directory/DirectoryTaxonomyWriter.cs
@@ -624,7 +624,7 @@ namespace Lucene.Net.Facet.Taxonomy.Directory
                 returned = false;
             }
 
-            public override bool IncrementToken()
+            public sealed override bool IncrementToken()
             {
                 if (returned)
                 {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/2473bbf4/src/Lucene.Net.Tests.Facet/Taxonomy/Directory/TestDirectoryTaxonomyWriter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Facet/Taxonomy/Directory/TestDirectoryTaxonomyWriter.cs
b/src/Lucene.Net.Tests.Facet/Taxonomy/Directory/TestDirectoryTaxonomyWriter.cs
index f5ddd11..24b10f7 100644
--- a/src/Lucene.Net.Tests.Facet/Taxonomy/Directory/TestDirectoryTaxonomyWriter.cs
+++ b/src/Lucene.Net.Tests.Facet/Taxonomy/Directory/TestDirectoryTaxonomyWriter.cs
@@ -54,11 +54,6 @@ namespace Lucene.Net.Facet.Taxonomy.Directory
 
         private class TaxonomyWriterCacheAnonymousInnerClassHelper : TaxonomyWriterCache
         {
-            public TaxonomyWriterCacheAnonymousInnerClassHelper()
-            {
-            }
-
-
             public virtual void Close()
             {
             }

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/2473bbf4/src/Lucene.Net.Tests/core/Index/TestIndexWriter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestIndexWriter.cs b/src/Lucene.Net.Tests/core/Index/TestIndexWriter.cs
index d5e3f80..ad5782f 100644
--- a/src/Lucene.Net.Tests/core/Index/TestIndexWriter.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestIndexWriter.cs
@@ -1893,7 +1893,7 @@ namespace Lucene.Net.Index
                 }
             }
 
-            public override bool IncrementToken()
+            public sealed override bool IncrementToken()
             {
                 ClearAttributes();
                 if (Upto < Tokens.Length)

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/2473bbf4/src/Lucene.Net.Tests/core/Index/TestTermdocPerf.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestTermdocPerf.cs b/src/Lucene.Net.Tests/core/Index/TestTermdocPerf.cs
index 8f32a38..f723ac3 100644
--- a/src/Lucene.Net.Tests/core/Index/TestTermdocPerf.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestTermdocPerf.cs
@@ -55,7 +55,7 @@ namespace Lucene.Net.Index
             this.TermAtt = AddAttribute<ICharTermAttribute>();
         }
 
-        public override bool IncrementToken()
+        public sealed override bool IncrementToken()
         {
             Num--;
             if (Num >= 0)


Mime
View raw message