--- old/src/share/classes/java/util/Random.java 2014-04-17 15:23:35.100519751 +0100 +++ new/src/share/classes/java/util/Random.java 2014-04-17 15:23:34.972519748 +0100 @@ -874,7 +874,7 @@ * (inclusive) and one (exclusive). * *

A pseudorandom {@code double} value is generated as if it's the result - * of calling the method {@link #nextDouble()}}. + * of calling the method {@link #nextDouble()}. * * @param streamSize the number of values to generate * @return a stream of {@code double} values @@ -897,7 +897,7 @@ * (exclusive). * *

A pseudorandom {@code double} value is generated as if it's the result - * of calling the method {@link #nextDouble()}}. + * of calling the method {@link #nextDouble()}. * * @implNote This method is implemented to be equivalent to {@code * doubles(Long.MAX_VALUE)}.