mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-09 11:34:55 +00:00
Use JRE API
This commit is contained in:
parent
d4c311d255
commit
10db68e492
@ -18,6 +18,7 @@
|
||||
package org.apache.commons.lang3.mutable;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* A mutable {@link Object} wrapper.
|
||||
@ -114,7 +115,7 @@ public int hashCode() {
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
return value == null ? "null" : value.toString();
|
||||
return Objects.toString(value);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user