lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [34/58] [abbrv] lucenenet git commit: Fixed bug in TestFramework.Util.TestUtil.RandomRealisticUnicodeString() method that wasn't converting the code points into characters (so we were just getting random sequences of numbers instead of Unicode).
Date Thu, 10 Nov 2016 11:33:45 GMT
Fixed bug in TestFramework.Util.TestUtil.RandomRealisticUnicodeString() method that wasn't
converting the code points into characters (so we were just getting random sequences of numbers
instead of Unicode).


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

Branch: refs/heads/grouping
Commit: c3abdc7398d0ac1d0c09dc8b30362d62b99eefe4
Parents: 081ce8c
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Thu Nov 3 18:20:03 2016 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Tue Nov 8 02:24:53 2016 +0700

----------------------------------------------------------------------
 src/Lucene.Net.TestFramework/Util/TestUtil.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c3abdc73/src/Lucene.Net.TestFramework/Util/TestUtil.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.TestFramework/Util/TestUtil.cs b/src/Lucene.Net.TestFramework/Util/TestUtil.cs
index 72a55f2..a62f80a 100644
--- a/src/Lucene.Net.TestFramework/Util/TestUtil.cs
+++ b/src/Lucene.Net.TestFramework/Util/TestUtil.cs
@@ -746,7 +746,7 @@ namespace Lucene.Net.Util
             StringBuilder sb = new StringBuilder();
             for (int i = 0; i < end; i++)
             {
-                sb.Append(NextInt(r, BlockStarts[block], BlockEnds[block]));
+                sb.AppendCodePoint(NextInt(r, BlockStarts[block], BlockEnds[block]));
             }
             return sb.ToString();
         }


Mime
View raw message