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:
Sebastian Bazley 2009-03-14 21:54:00 +00:00
parent ef0dec934b
commit eaac4a7df7
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

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