lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [17/17] lucenenet git commit: Revert Random() seed
Date Sun, 23 Aug 2015 22:34:16 GMT
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 <jaysche.sullivan@gmail.com>
Authored: Sun Aug 23 18:02:01 2015 -0400
Committer: Josh Sullivan <jaysche.sullivan@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;
         }
 


Mime
View raw message