lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [1/2] lucenenet git commit: more sealed increment token
Date Fri, 20 Feb 2015 07:38:33 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master 529416776 -> 5f3998ba8


more sealed increment token


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

Branch: refs/heads/master
Commit: 0b794bb43105be4b68034fc5167d9a780f5e127f
Parents: 5294167
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Thu Feb 19 20:32:52 2015 -0500
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Thu Feb 19 20:32:52 2015 -0500

----------------------------------------------------------------------
 src/Lucene.Net.Tests/core/Analysis/TestCachingTokenFilter.cs     | 2 +-
 src/Lucene.Net.Tests/core/Analysis/TestGraphTokenizers.cs        | 2 +-
 src/Lucene.Net.Tests/core/Analysis/TestLookaheadTokenFilter.cs   | 2 +-
 .../core/Search/Payloads/TestPayloadTermQuery.cs                 | 2 +-
 src/Lucene.Net.Tests/core/Util/TestQueryBuilder.cs               | 4 ++--
 5 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/0b794bb4/src/Lucene.Net.Tests/core/Analysis/TestCachingTokenFilter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Analysis/TestCachingTokenFilter.cs b/src/Lucene.Net.Tests/core/Analysis/TestCachingTokenFilter.cs
index 67dc09a..6cce5bd 100644
--- a/src/Lucene.Net.Tests/core/Analysis/TestCachingTokenFilter.cs
+++ b/src/Lucene.Net.Tests/core/Analysis/TestCachingTokenFilter.cs
@@ -104,7 +104,7 @@ namespace Lucene.Net.Analysis
             private ICharTermAttribute termAtt;
             private IOffsetAttribute offsetAtt;
 
-            public override bool IncrementToken()
+            public sealed override bool IncrementToken()
             {
                 if (index == OuterInstance.Tokens.Length)
                 {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/0b794bb4/src/Lucene.Net.Tests/core/Analysis/TestGraphTokenizers.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Analysis/TestGraphTokenizers.cs b/src/Lucene.Net.Tests/core/Analysis/TestGraphTokenizers.cs
index dffb392..66b5d52 100644
--- a/src/Lucene.Net.Tests/core/Analysis/TestGraphTokenizers.cs
+++ b/src/Lucene.Net.Tests/core/Analysis/TestGraphTokenizers.cs
@@ -75,7 +75,7 @@ namespace Lucene.Net.Analysis
                 Upto = 0;
             }
 
-            public override bool IncrementToken()
+            public sealed override bool IncrementToken()
             {
                 if (Tokens == null)
                 {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/0b794bb4/src/Lucene.Net.Tests/core/Analysis/TestLookaheadTokenFilter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Analysis/TestLookaheadTokenFilter.cs b/src/Lucene.Net.Tests/core/Analysis/TestLookaheadTokenFilter.cs
index 0de10e5..f8b9b78 100644
--- a/src/Lucene.Net.Tests/core/Analysis/TestLookaheadTokenFilter.cs
+++ b/src/Lucene.Net.Tests/core/Analysis/TestLookaheadTokenFilter.cs
@@ -63,7 +63,7 @@ namespace Lucene.Net.Analysis
                 return new LookaheadTokenFilter.Position();
             }
 
-            public override bool IncrementToken()
+            public sealed override bool IncrementToken()
             {
                 return NextToken();
             }

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/0b794bb4/src/Lucene.Net.Tests/core/Search/Payloads/TestPayloadTermQuery.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Search/Payloads/TestPayloadTermQuery.cs b/src/Lucene.Net.Tests/core/Search/Payloads/TestPayloadTermQuery.cs
index 0076c67..9226a89 100644
--- a/src/Lucene.Net.Tests/core/Search/Payloads/TestPayloadTermQuery.cs
+++ b/src/Lucene.Net.Tests/core/Search/Payloads/TestPayloadTermQuery.cs
@@ -79,7 +79,7 @@ namespace Lucene.Net.Search.Payloads
                 PayloadAtt = AddAttribute<IPayloadAttribute>();
             }
 
-            public override bool IncrementToken()
+            public sealed override bool IncrementToken()
             {
                 bool hasNext = input.IncrementToken();
                 if (hasNext)

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/0b794bb4/src/Lucene.Net.Tests/core/Util/TestQueryBuilder.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Util/TestQueryBuilder.cs b/src/Lucene.Net.Tests/core/Util/TestQueryBuilder.cs
index 421a203..1829cb6 100644
--- a/src/Lucene.Net.Tests/core/Util/TestQueryBuilder.cs
+++ b/src/Lucene.Net.Tests/core/Util/TestQueryBuilder.cs
@@ -158,7 +158,7 @@ namespace Lucene.Net.Util
                 PosIncAtt = AddAttribute<IPositionIncrementAttribute>();
             }
 
-            public override bool IncrementToken()
+            public sealed override bool IncrementToken()
             {
                 if (AddSynonym) // inject our synonym
                 {
@@ -218,7 +218,7 @@ namespace Lucene.Net.Util
                 TermAtt = AddAttribute<ICharTermAttribute>();
             }
 
-            public override bool IncrementToken()
+            public sealed override bool IncrementToken()
             {
                 int ch = input.Read();
                 if (ch < 0)


Mime
View raw message