--- a/jdk/src/share/classes/javax/swing/JSplitPane.java Fri Apr 04 20:32:59 2008 +0400
+++ b/jdk/src/share/classes/javax/swing/JSplitPane.java Mon Apr 07 14:53:51 2008 +0400
@@ -1195,7 +1195,7 @@
* @return a localized String describing the value of this object
*/
public Number getCurrentAccessibleValue() {
- return new Integer(getDividerLocation());
+ return Integer.valueOf(getDividerLocation());
}
@@ -1220,7 +1220,7 @@
* @return The minimum value of this object.
*/
public Number getMinimumAccessibleValue() {
- return new Integer(getUI().getMinimumDividerLocation(
+ return Integer.valueOf(getUI().getMinimumDividerLocation(
JSplitPane.this));
}
@@ -1231,7 +1231,7 @@
* @return The maximum value of this object.
*/
public Number getMaximumAccessibleValue() {
- return new Integer(getUI().getMaximumDividerLocation(
+ return Integer.valueOf(getUI().getMaximumDividerLocation(
JSplitPane.this));
}