changeset 4911:2050ff9dfc92

7123649: Remove public modifier from Math.powerOfTwoF. Reviewed-by: smarks, alanb
author darcy
date Fri, 06 Jan 2012 18:47:43 -0800
parents 6720ae7b1448
children 74c92c3e66ad
files src/share/classes/java/lang/Math.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/lang/Math.java	Fri Jan 06 16:06:41 2012 -0800
+++ b/src/share/classes/java/lang/Math.java	Fri Jan 06 18:47:43 2012 -0800
@@ -1900,7 +1900,7 @@
     /**
      * Returns a floating-point power of two in the normal range.
      */
-    public static float powerOfTwoF(int n) {
+    static float powerOfTwoF(int n) {
         assert(n >= FloatConsts.MIN_EXPONENT && n <= FloatConsts.MAX_EXPONENT);
         return Float.intBitsToFloat(((n + FloatConsts.EXP_BIAS) <<
                                      (FloatConsts.SIGNIFICAND_WIDTH-1))