fixed return type of getValue

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137853 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2004-06-27 05:23:47 +00:00
parent 6ca1ffce84
commit 2b47976319
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
* A mutable <code>Integer</code>.
*
* @since 2.1
* @version $Id: MutableInteger.java,v 1.3 2004/06/24 04:20:46 bayard Exp $
* @version $Id: MutableInteger.java,v 1.4 2004/06/27 05:23:47 bayard Exp $
*/
public class MutableInteger extends MutableNumber {
@ -55,7 +55,7 @@ public int intValue() {
}
public Object getValue() {
return new Float(this.value);
return new Integer(this.value);
}
public void setValue(Object value) {