lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [1/2] lucenenet git commit: Changed casing of String to string.
Date Thu, 06 Oct 2016 14:08:37 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master 93f8fa1fc -> a57e72058


Changed casing of String to string.


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

Branch: refs/heads/master
Commit: bd32e5abfa0797c1a3bf8ace17857621a7e9d09d
Parents: ddfb46c
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Thu Oct 6 12:51:16 2016 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Thu Oct 6 12:51:16 2016 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Tests.Suggest/Spell/TestDirectSpellChecker.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/bd32e5ab/src/Lucene.Net.Tests.Suggest/Spell/TestDirectSpellChecker.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Suggest/Spell/TestDirectSpellChecker.cs b/src/Lucene.Net.Tests.Suggest/Spell/TestDirectSpellChecker.cs
index 4f533ba..b1ecae0 100644
--- a/src/Lucene.Net.Tests.Suggest/Spell/TestDirectSpellChecker.cs
+++ b/src/Lucene.Net.Tests.Suggest/Spell/TestDirectSpellChecker.cs
@@ -35,7 +35,7 @@ namespace Lucene.Net.Search.Spell
             RandomIndexWriter writer = new RandomIndexWriter(Random(), dir,
                 new MockAnalyzer(Random(), MockTokenizer.KEYWORD, true), Similarity, TimeZone);
 
-            String[] termsToAdd = { "metanoia", "metanoian", "metanoiai", "metanoias", "metanoi𐑍"
};
+            string[] termsToAdd = { "metanoia", "metanoian", "metanoiai", "metanoias", "metanoi𐑍"
};
             for (int i = 0; i < termsToAdd.Length; i++)
             {
                 Document doc = new Document();
@@ -44,7 +44,7 @@ namespace Lucene.Net.Search.Spell
             }
 
             IndexReader ir = writer.Reader;
-            String misspelled = "metanoix";
+            string misspelled = "metanoix";
             SuggestWord[] similar = spellchecker.SuggestSimilar(new Term("repentance", misspelled),
4, ir, SuggestMode.SUGGEST_WHEN_NOT_IN_INDEX);
             assertTrue(similar.Length == 4);
 


Mime
View raw message