/[Apache-SVN]
ViewVC logotype

Revision 1481971


Jump to revision: Previous Next
Author: sarowe
Date: Mon May 13 17:03:50 2013 UTC (11 years, 4 months ago)
Changed paths: 1
Log Message:
LUCENE-4975: make forbidden-apis shut up: "new Random()" is bad, and LTC.random() says "RandomizedRunner prevents changing the seed of its random generators to assure repeatability of tests. If you need a mutable instance of Random, create a new instance, preferably with the initial seed aquired from this Random instance.", so switched to "new Random(random.nextLong())"

Changed paths

Path Details
Directorylucene/dev/trunk/lucene/replicator/src/test/org/apache/lucene/replicator/ReplicatorTestCase.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26