8273091: Doc of [Strict]Math.floorDiv(long,int) erroneously documents int in @return tag

Reviewed-by: darcy, bpb
This commit is contained in:
Raffaello Giulietti 2021-08-27 22:48:52 +00:00 committed by Brian Burkhalter
parent e66c8afb59
commit 51167846cb
2 changed files with 2 additions and 2 deletions
src/java.base/share/classes/java/lang

@ -1308,7 +1308,7 @@ public final class Math {
* @param x the dividend
* @param y the divisor
* @return the largest (closest to positive infinity)
* {@code int} value that is less than or equal to the algebraic quotient.
* {@code long} value that is less than or equal to the algebraic quotient.
* @throws ArithmeticException if the divisor {@code y} is zero
* @see #floorMod(long, int)
* @see #floor(double)

@ -1086,7 +1086,7 @@ public final class StrictMath {
* @param x the dividend
* @param y the divisor
* @return the largest (closest to positive infinity)
* {@code int} value that is less than or equal to the algebraic quotient.
* {@code long} value that is less than or equal to the algebraic quotient.
* @throws ArithmeticException if the divisor {@code y} is zero
* @see Math#floorDiv(long, int)
* @see Math#floor(double)