src/share/classes/java/lang/Integer.java

Print this page

        

@@ -744,11 +744,11 @@
      *
      * @return  a string representation of the value of this object in
      *          base 10.
      */
     public String toString() {
-        return String.valueOf(value);
+        return toString(value);
     }
 
     /**
      * Returns a hash code for this {@code Integer}.
      *