lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [22/23] lucenenet git commit: Lucene.Net.TestFramework.Index.ThreadedIndexingAndSearchingTestCase: corrected integer to string conversion using invariant culture
Date Sun, 19 Mar 2017 23:20:17 GMT
Lucene.Net.TestFramework.Index.ThreadedIndexingAndSearchingTestCase: corrected integer to string
conversion using invariant culture


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

Branch: refs/heads/api-work
Commit: 605beeb581b5aac301e71aff8e811642cd607b98
Parents: b2a5573
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Mon Mar 20 04:52:03 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Mon Mar 20 04:52:03 2017 +0700

----------------------------------------------------------------------
 .../Index/ThreadedIndexingAndSearchingTestCase.cs                  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/605beeb5/src/Lucene.Net.TestFramework/Index/ThreadedIndexingAndSearchingTestCase.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.TestFramework/Index/ThreadedIndexingAndSearchingTestCase.cs b/src/Lucene.Net.TestFramework/Index/ThreadedIndexingAndSearchingTestCase.cs
index 44f4015..025b601 100644
--- a/src/Lucene.Net.TestFramework/Index/ThreadedIndexingAndSearchingTestCase.cs
+++ b/src/Lucene.Net.TestFramework/Index/ThreadedIndexingAndSearchingTestCase.cs
@@ -732,7 +732,7 @@ namespace Lucene.Net.Index
 
             for (int id = 0; id < endID; id++)
             {
-                string stringID = "" + id;
+                string stringID = id.ToString(CultureInfo.InvariantCulture);
                 if (!delIDs.Contains(stringID))
                 {
                     TopDocs hits = s.Search(new TermQuery(new Term("docid", stringID)), 1);


Mime
View raw message