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:
Henri Yandell 2006-12-25 18:57:37 +00:00
parent cf20d13c64
commit b57c699e69
1 changed files with 3 additions and 1 deletions

View File

@ -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);
}
/**