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:
parent
6ca1ffce84
commit
2b47976319
|
@ -19,7 +19,7 @@ package org.apache.commons.lang.mutable;
|
||||||
* A mutable <code>Integer</code>.
|
* A mutable <code>Integer</code>.
|
||||||
*
|
*
|
||||||
* @since 2.1
|
* @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 {
|
public class MutableInteger extends MutableNumber {
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ public class MutableInteger extends MutableNumber {
|
||||||
}
|
}
|
||||||
|
|
||||||
public Object getValue() {
|
public Object getValue() {
|
||||||
return new Float(this.value);
|
return new Integer(this.value);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setValue(Object value) {
|
public void setValue(Object value) {
|
||||||
|
|
Loading…
Reference in New Issue