lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [05/50] [abbrv] lucenenet git commit: Marked all IncrementToken() methods sealed in test TokenFilter classes.
Date Sun, 11 Sep 2016 21:30:36 GMT
Marked all IncrementToken() methods sealed in test TokenFilter classes.


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

Branch: refs/heads/master
Commit: 544c6d442032faeab482a0aee23f75381237a203
Parents: c9b96c8
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sun Jul 31 19:02:50 2016 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Fri Sep 2 22:29:52 2016 +0700

----------------------------------------------------------------------
 Lucene.Net.Tests.QueryParser/Classic/TestMultiAnalyzer.cs | 4 ++--
 Lucene.Net.Tests.QueryParser/Classic/TestQueryParser.cs   | 2 +-
 Lucene.Net.Tests.QueryParser/Util/QueryParserTestBase.cs  | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/544c6d44/Lucene.Net.Tests.QueryParser/Classic/TestMultiAnalyzer.cs
----------------------------------------------------------------------
diff --git a/Lucene.Net.Tests.QueryParser/Classic/TestMultiAnalyzer.cs b/Lucene.Net.Tests.QueryParser/Classic/TestMultiAnalyzer.cs
index fc1ce0c..c4f3a7b 100644
--- a/Lucene.Net.Tests.QueryParser/Classic/TestMultiAnalyzer.cs
+++ b/Lucene.Net.Tests.QueryParser/Classic/TestMultiAnalyzer.cs
@@ -137,7 +137,7 @@ namespace Lucene.Net.QueryParser.Classic
                 typeAtt = AddAttribute<ITypeAttribute>();
             }
 
-            public override bool IncrementToken()
+            public override sealed bool IncrementToken()
             {
                 if (multiToken > 0)
                 {
@@ -210,7 +210,7 @@ namespace Lucene.Net.QueryParser.Classic
                 posIncrAtt = AddAttribute<IPositionIncrementAttribute>();
             }
 
-            public override bool IncrementToken()
+            public override sealed bool IncrementToken()
             {
                 while (input.IncrementToken())
                 {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/544c6d44/Lucene.Net.Tests.QueryParser/Classic/TestQueryParser.cs
----------------------------------------------------------------------
diff --git a/Lucene.Net.Tests.QueryParser/Classic/TestQueryParser.cs b/Lucene.Net.Tests.QueryParser/Classic/TestQueryParser.cs
index 35acad2..d0e222d 100644
--- a/Lucene.Net.Tests.QueryParser/Classic/TestQueryParser.cs
+++ b/Lucene.Net.Tests.QueryParser/Classic/TestQueryParser.cs
@@ -414,7 +414,7 @@ namespace Lucene.Net.QueryParser.Classic
                 IPositionIncrementAttribute posIncAtt = AddAttribute<IPositionIncrementAttribute>();
             }
 
-            public override bool IncrementToken()
+            public override sealed bool IncrementToken()
             {
                 if (addSynonym)
                 { // inject our synonym

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/544c6d44/Lucene.Net.Tests.QueryParser/Util/QueryParserTestBase.cs
----------------------------------------------------------------------
diff --git a/Lucene.Net.Tests.QueryParser/Util/QueryParserTestBase.cs b/Lucene.Net.Tests.QueryParser/Util/QueryParserTestBase.cs
index f8e290e..282b355 100644
--- a/Lucene.Net.Tests.QueryParser/Util/QueryParserTestBase.cs
+++ b/Lucene.Net.Tests.QueryParser/Util/QueryParserTestBase.cs
@@ -61,7 +61,7 @@ namespace Lucene.Net.QueryParser.Util
             bool inPhrase = false;
             int savedStart = 0, savedEnd = 0;
 
-            public override bool IncrementToken()
+            public override sealed bool IncrementToken()
             {
                 if (inPhrase)
                 {
@@ -1343,7 +1343,7 @@ namespace Lucene.Net.QueryParser.Util
                 termAtt = AddAttribute<ICharTermAttribute>();
             }
 
-            public override bool IncrementToken()
+            public override sealed bool IncrementToken()
             {
                 if (input.IncrementToken())
                 {


Mime
View raw message