RFR: 8285658: Fix two typos in the spec of j.u.random.RandomGenerator [v2]
Joe Darcy
darcy at openjdk.java.net
Tue Apr 26 18:57:57 UTC 2022
On Tue, 26 Apr 2022 16:55:44 GMT, Raffaello Giulietti <duke at openjdk.java.net> wrote:
>> The spec of the interface `java.util.random.RandomGenerator` is slightly incorrect when it discusses `float` and `double` random values.
>
> Raffaello Giulietti has updated the pull request incrementally with one additional commit since the last revision:
>
> 8285658: Fix two typos in the spec of j.u.random.RandomGenerator
Marked as reviewed by darcy (Reviewer).
src/java.base/share/classes/java/util/random/RandomGenerator.java line 501:
> 499: *
> 500: * @implSpec The default implementation uses the {@link Float#PRECISION}
> 501: * high-order bits from a call to {@link RandomGenerator#nextInt() nextInt}().
Typographical nit: please include the "()" inside the link tag for both methods.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8404
More information about the core-libs-dev
mailing list