new Boolean -> Boolean.valueOf. (Reported by FindBugs)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@489734 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
37875137e9
commit
5a4594cd37
|
@ -121,7 +121,7 @@ public boolean equals(Object obj) {
|
|||
* @return the value as a Boolean
|
||||
*/
|
||||
public Object getValue() {
|
||||
return new Boolean(this.value);
|
||||
return Boolean.valueOf(this.value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue