Fix NullPointerException in o.e.c.Randomness

This commit is contained in:
Jason Tedor 2015-12-11 12:10:43 -05:00
parent 11cbc08e45
commit a087d557f9
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ public final class Randomness {
private static Random getWithoutSeed() {
assert currentMethod == null && getRandomMethod == null : "running under tests but tried to create non-reproducible random";
if (LOCAL.get() == null) {
if (LOCAL == null) {
byte[] bytes = SR.generateSeed(8);
long accumulator = 0;
for (int i = 0; i < bytes.length; i++) {