RFR: 8334758: Incorrect note in Javadoc for a few RandomGenerator methods
Brian Burkhalter
bpb at openjdk.org
Fri Jul 19 16:34:32 UTC 2024
On Fri, 12 Jul 2024 06:28:15 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:
> Small corrections to @implSpec notes in a few methods in RandomGenerator.
src/java.base/share/classes/java/util/random/RandomGenerator.java line 816:
> 814: * distribution in the range 0 (inclusive)
> 815: * to {@code bound} (exclusive).
> 816: * It assumes the distribution of {@link #nextInt()} to be uniform in turn.
Do you need "in turn" here (and in the other changes)?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20152#discussion_r1684617106
More information about the core-libs-dev
mailing list