commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r754584 - in /commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/builder: ToStringBuilder.java ToStringStyle.java
Date Sun, 15 Mar 2009 01:43:20 GMT
Author: sebb
Date: Sun Mar 15 01:43:20 2009
New Revision: 754584

URL: http://svn.apache.org/viewvc?rev=754584&view=rev
Log:
Replace deprecated method calls to appendIdentityToString with identityToString

Modified:
    commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/builder/ToStringBuilder.java
    commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/builder/ToStringStyle.java

Modified: commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/builder/ToStringBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/builder/ToStringBuilder.java?rev=754584&r1=754583&r2=754584&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/builder/ToStringBuilder.java
(original)
+++ commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/builder/ToStringBuilder.java
Sun Mar 15 01:43:20 2009
@@ -945,7 +945,7 @@
      * @since 2.0
      */
     public ToStringBuilder appendAsObjectToString(Object object) {
-        ObjectUtils.appendIdentityToString(this.getStringBuffer(), object);
+        ObjectUtils.identityToString(this.getStringBuffer(), object);
         return this;
     }
 

Modified: commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/builder/ToStringStyle.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/builder/ToStringStyle.java?rev=754584&r1=754583&r2=754584&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/builder/ToStringStyle.java
(original)
+++ commons/proper/lang/branches/LANG_POST_2_4/src/java/org/apache/commons/lang/builder/ToStringStyle.java
Sun Mar 15 01:43:20 2009
@@ -562,7 +562,7 @@
      * @since 2.2
      */
     protected void appendCyclicObject(StringBuffer buffer, String fieldName, Object value)
{
-       ObjectUtils.appendIdentityToString(buffer, value);
+       ObjectUtils.identityToString(buffer, value);
     }
 
     /**



Mime
View raw message