Mercurial > hg > jdk9-shenandoah > jdk
changeset 9771:ca512a1ade9a
8040809: '}' left in the spec for j.u.Random.doubles(..)
Reviewed-by: rriggs
author | michaelm |
---|---|
date | Thu, 17 Apr 2014 15:44:32 +0100 |
parents | e0da79da3689 |
children | 8371276d52c0 |
files | src/share/classes/java/util/Random.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/classes/java/util/Random.java Thu Apr 17 13:00:45 2014 +0900 +++ b/src/share/classes/java/util/Random.java Thu Apr 17 15:44:32 2014 +0100 @@ -874,7 +874,7 @@ * (inclusive) and one (exclusive). * * <p>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). * * <p>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)}.