You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2017/03/26 03:52:48 UTC
[6/6] lucenenet git commit: BUG:
Lucene.Net.Analysis.Common.Analysis.Miscellaneous.TestStemmerOverrideFilter:
Fixed test to append code point instead of a raw integer.
BUG: Lucene.Net.Analysis.Common.Analysis.Miscellaneous.TestStemmerOverrideFilter: Fixed test to append code point instead of a raw integer.
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/548e768c
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/548e768c
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/548e768c
Branch: refs/heads/api-work
Commit: 548e768ccbf15fcede0590a9a289d8bd12ab9e96
Parents: 40ba567
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Sun Mar 26 09:36:27 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Sun Mar 26 09:37:10 2017 +0700
----------------------------------------------------------------------
.../Analysis/Miscellaneous/TestStemmerOverrideFilter.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/548e768c/src/Lucene.Net.Tests.Analysis.Common/Analysis/Miscellaneous/TestStemmerOverrideFilter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Miscellaneous/TestStemmerOverrideFilter.cs b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Miscellaneous/TestStemmerOverrideFilter.cs
index 9ef56ef..dfe327f 100644
--- a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Miscellaneous/TestStemmerOverrideFilter.cs
+++ b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Miscellaneous/TestStemmerOverrideFilter.cs
@@ -80,7 +80,7 @@ namespace Lucene.Net.Analysis.Miscellaneous
int cp = Character.CodePointAt(charArray, j, charArray.Length);
if (!char.IsWhiteSpace((char)cp))
{
- sb.Append(cp);
+ sb.AppendCodePoint(cp);
}
j += Character.CharCount(cp);
}