8040809: '}' left in the spec for j.u.Random.doubles(..)
authormichaelm
Thu, 17 Apr 2014 15:44:32 +0100
changeset 23938 c6b1b5882a0f
parent 23937 e6bd52c03bc0
child 23939 63144ee0e772
8040809: '}' left in the spec for j.u.Random.doubles(..) Reviewed-by: rriggs
jdk/src/share/classes/java/util/Random.java
--- a/jdk/src/share/classes/java/util/Random.java	Thu Apr 17 13:00:45 2014 +0900
+++ b/jdk/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)}.