lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [1/3] lucenenet git commit: More sealing
Date Mon, 09 Feb 2015 20:07:10 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master a99c15cd4 -> 71874969c


More sealing


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

Branch: refs/heads/master
Commit: 3cf4277644ea55b425c4f22eb200063fa829c4cc
Parents: a99c15c
Author: Chand2048 <Chand@Microsoft.com>
Authored: Mon Feb 9 11:30:34 2015 -0800
Committer: Chand2048 <Chand@Microsoft.com>
Committed: Mon Feb 9 11:30:34 2015 -0800

----------------------------------------------------------------------
 .../core/Index/TestDocInverterPerFieldErrorInfo.cs           | 2 +-
 src/Lucene.Net.Tests/core/Index/TestDocumentWriter.cs        | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/3cf42776/src/Lucene.Net.Tests/core/Index/TestDocInverterPerFieldErrorInfo.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestDocInverterPerFieldErrorInfo.cs b/src/Lucene.Net.Tests/core/Index/TestDocInverterPerFieldErrorInfo.cs
index 8ec9e62..f054ac2 100644
--- a/src/Lucene.Net.Tests/core/Index/TestDocInverterPerFieldErrorInfo.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestDocInverterPerFieldErrorInfo.cs
@@ -78,7 +78,7 @@ namespace Lucene.Net.Index
                     this.OuterInstance = outerInstance;
                 }
 
-                public override bool IncrementToken()
+                public sealed override bool IncrementToken()
                 {
                     throw new BadNews("Something is icky.");
                 }

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/3cf42776/src/Lucene.Net.Tests/core/Index/TestDocumentWriter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Index/TestDocumentWriter.cs b/src/Lucene.Net.Tests/core/Index/TestDocumentWriter.cs
index 0c6d6fb..dbe3ff5 100644
--- a/src/Lucene.Net.Tests/core/Index/TestDocumentWriter.cs
+++ b/src/Lucene.Net.Tests/core/Index/TestDocumentWriter.cs
@@ -218,7 +218,7 @@ namespace Lucene.Net.Index
                 internal bool first;
                 internal AttributeSource.State state;
 
-                public override bool IncrementToken()
+                public sealed override bool IncrementToken()
                 {
                     if (state != null)
                     {
@@ -251,7 +251,7 @@ namespace Lucene.Net.Index
                     return true;
                 }
 
-                public override void Reset()
+                public sealed override void Reset()
                 {
                     base.Reset();
                     first = true;
@@ -300,7 +300,7 @@ namespace Lucene.Net.Index
         {
             private readonly TestDocumentWriter OuterInstance;
 
-            public TokenStreamAnonymousInnerClassHelper(TestDocumentWriter outerInstance)
+            public TokenStreamAnonymousInnerClassHelper(TestDocumentWriter outerInstance)

             {
                 this.OuterInstance = outerInstance;
                 tokens = new string[] { "term1", "term2", "term3", "term2" };
@@ -313,7 +313,7 @@ namespace Lucene.Net.Index
 
             private ICharTermAttribute termAtt;
 
-            public override bool IncrementToken()
+            public sealed override bool IncrementToken()
             {
                 if (index == tokens.Length)
                 {


Mime
View raw message