Rolling back r489734 - Boolean.valueOf(boolean) only available from JDK 1.4 onwards
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@490161 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cf20d13c64
commit
b57c699e69
|
@ -121,7 +121,9 @@ public class MutableBoolean implements Mutable, Serializable, Comparable {
|
|||
* @return the value as a Boolean
|
||||
*/
|
||||
public Object getValue() {
|
||||
return Boolean.valueOf(this.value);
|
||||
return new Boolean(this.value);
|
||||
// TODO: JDK 1.4+
|
||||
// return Boolean.valueOf(this.value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue