Replace deprecated method call
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754537 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ef0dec934b
commit
eaac4a7df7
|
@ -945,7 +945,7 @@ public class ToStringBuilder {
|
|||
* @since 2.0
|
||||
*/
|
||||
public ToStringBuilder appendAsObjectToString(Object object) {
|
||||
ObjectUtils.appendIdentityToString(this.getStringBuffer(), object);
|
||||
ObjectUtils.identityToString(this.getStringBuffer(), object);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
|
@ -563,7 +563,7 @@ public abstract class ToStringStyle implements Serializable {
|
|||
* @since 2.2
|
||||
*/
|
||||
protected void appendCyclicObject(StringBuffer buffer, String fieldName, Object value) {
|
||||
ObjectUtils.appendIdentityToString(buffer, value);
|
||||
ObjectUtils.identityToString(buffer, value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue