Skip to content

Commit

Permalink
Reimpliment javadoc from abstract super class
Browse files Browse the repository at this point in the history
Added to avoid warnings when building on Java 21 (which fail the build).
JDK 21 expects the {@inheritdoc} to be used with a method with the same
scopy. Here the scope is changed to protected.
  • Loading branch information
aherbert committed Jul 8, 2024
1 parent 17145e8 commit 90300a7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,11 @@ public long next() {
return z;
}

/** {@inheritDoc} */
/**
* Create a copy.
*
* @return the copy
*/
@Override
protected L64X128Mix copy() {
// This exists to ensure the jump function performed in the super class returns
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@ public long next() {
return z;
}

/** {@inheritDoc} */
/**
* Create a copy.
*
* @return the copy
*/
@Override
protected L64X128StarStar copy() {
// This exists to ensure the jump function performed in the super class returns
Expand Down

0 comments on commit 90300a7

Please sign in to comment.