8273792: JumpableGenerator.rngs() documentation refers to wrong method

Co-authored-by: Guy Steele <gls@openjdk.org>
Reviewed-by: rriggs
This commit is contained in:
Jim Laskey 2021-11-22 16:17:01 +00:00
parent d427c79d3b
commit 6b4fbaedbb

View File

@ -1196,7 +1196,7 @@ public interface RandomGenerator {
*
* @return a stream of objects that implement the {@link RandomGenerator} interface
*
* @implSpec The default implementation calls {@link JumpableGenerator#jump jump}().
* @implSpec The default implementation calls {@link JumpableGenerator#jumps jumps}().
*/
default Stream<RandomGenerator> rngs() {
return this.jumps();