You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by sy...@apache.org on 2015/08/24 00:34:16 UTC

[17/17] lucenenet git commit: Revert Random() seed

Revert Random() seed


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

Branch: refs/heads/master
Commit: 812e1c541f1a00392391c5761fd3dcb7b0aedd88
Parents: 4820f23
Author: Josh Sullivan <ja...@gmail.com>
Authored: Sun Aug 23 18:02:01 2015 -0400
Committer: Josh Sullivan <ja...@gmail.com>
Committed: Sun Aug 23 18:02:01 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/812e1c54/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs b/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs
index ea68c2f..3667b87 100644
--- a/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs
+++ b/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs
@@ -607,7 +607,7 @@ namespace Lucene.Net.Util
         /// </summary>
         public static Random Random()
         {
-            return _random ?? (_random = new Random(1));
+            return _random ?? (_random = new Random(/* LUCENENET TODO seed */));
             //return RandomizedContext.Current.Random;
         }