commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r905158 - in /commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder: ToStringBuilder.java ToStringStyle.java
Date Mon, 01 Feb 2010 00:43:53 GMT
Author: niallp
Date: Mon Feb  1 00:43:53 2010
New Revision: 905158

URL: http://svn.apache.org/viewvc?rev=905158&view=rev
Log:
Port r754537 to 2.x branch - Replace deprecated method call

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

Modified: commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/ToStringBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/ToStringBuilder.java?rev=905158&r1=905157&r2=905158&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/ToStringBuilder.java
(original)
+++ commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/ToStringBuilder.java
Mon Feb  1 00:43:53 2010
@@ -956,7 +956,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_2_X/src/main/java/org/apache/commons/lang/builder/ToStringStyle.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/ToStringStyle.java?rev=905158&r1=905157&r2=905158&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/ToStringStyle.java
(original)
+++ commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/ToStringStyle.java
Mon Feb  1 00:43:53 2010
@@ -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