changeset 16521:ea91cf963514

8157527: Replace @since 1.9 with @since 9 on new math methods Reviewed-by: chegar
author darcy
date Sun, 22 May 2016 18:23:02 -0700
parents 661ab876769e
children ad54181c91ae
files src/java.base/share/classes/java/lang/Math.java src/java.base/share/classes/java/lang/StrictMath.java
diffstat 2 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/Math.java	Sun May 22 19:06:23 2016 +0100
+++ b/src/java.base/share/classes/java/lang/Math.java	Sun May 22 18:23:02 2016 -0700
@@ -916,7 +916,7 @@
      * @param y the second value
      * @return the result
      * @throws ArithmeticException if the result overflows a long
-     * @since 1.9
+     * @since 9
      */
     public static long multiplyExact(long x, int y) {
         return multiplyExact(x, (long)y);
@@ -1186,7 +1186,7 @@
      * @throws ArithmeticException if the divisor {@code y} is zero
      * @see #floorMod(long, int)
      * @see #floor(double)
-     * @since 1.9
+     * @since 9
      */
     public static long floorDiv(long x, int y) {
         return floorDiv(x, (long)y);
@@ -1294,7 +1294,7 @@
      * @return the floor modulus {@code x - (floorDiv(x, y) * y)}
      * @throws ArithmeticException if the divisor {@code y} is zero
      * @see #floorDiv(long, int)
-     * @since 1.9
+     * @since 9
      */
     public static int floorMod(long x, int y) {
         // Result cannot overflow the range of int.
--- a/src/java.base/share/classes/java/lang/StrictMath.java	Sun May 22 19:06:23 2016 +0100
+++ b/src/java.base/share/classes/java/lang/StrictMath.java	Sun May 22 18:23:02 2016 -0700
@@ -811,7 +811,7 @@
      * @return the result
      * @throws ArithmeticException if the result overflows a long
      * @see Math#multiplyExact(long,int)
-     * @since 1.9
+     * @since 9
      */
     public static long multiplyExact(long x, int y) {
         return Math.multiplyExact(x, y);
@@ -853,7 +853,7 @@
      * @param y the second value
      * @return the result
      * @see Math#multiplyFull(int,int)
-     * @since 1.9
+     * @since 9
      */
     public static long multiplyFull(int x, int y) {
         return Math.multiplyFull(x, y);
@@ -867,7 +867,7 @@
      * @param y the second value
      * @return the result
      * @see Math#multiplyHigh(long,long)
-     * @since 1.9
+     * @since 9
      */
     public static long multiplyHigh(long x, long y) {
         return Math.multiplyHigh(x, y);
@@ -915,7 +915,7 @@
      * @throws ArithmeticException if the divisor {@code y} is zero
      * @see Math#floorDiv(long, int)
      * @see Math#floor(double)
-     * @since 1.9
+     * @since 9
      */
     public static long floorDiv(long x, int y) {
         return Math.floorDiv(x, y);
@@ -994,7 +994,7 @@
      * @throws ArithmeticException if the divisor {@code y} is zero
      * @see Math#floorMod(long, int)
      * @see StrictMath#floorDiv(long, int)
-     * @since 1.9
+     * @since 9
      */
     public static int floorMod(long x, int y) {
         return Math.floorMod(x , y);