The parameter object is hiding a field from type ToStringBuilder.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@448263 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2006-09-20 16:53:53 +00:00
parent 4f3b6e55f8
commit c51cba098e
1 changed files with 9 additions and 9 deletions

View File

@ -443,11 +443,11 @@ public class ToStringBuilder {
* <p>Append to the <code>toString</code> an <code>Object</code>
* value.</p>
*
* @param object the value to add to the <code>toString</code>
* @param obj the value to add to the <code>toString</code>
* @return this
*/
public ToStringBuilder append(Object object) {
style.append(buffer, null, object, null);
public ToStringBuilder append(Object obj) {
style.append(buffer, null, obj, null);
return this;
}
@ -819,11 +819,11 @@ public class ToStringBuilder {
* value.</p>
*
* @param fieldName the field name
* @param object the value to add to the <code>toString</code>
* @param obj the value to add to the <code>toString</code>
* @return this
*/
public ToStringBuilder append(String fieldName, Object object) {
style.append(buffer, fieldName, object, null);
public ToStringBuilder append(String fieldName, Object obj) {
style.append(buffer, fieldName, obj, null);
return this;
}
@ -832,13 +832,13 @@ public class ToStringBuilder {
* value.</p>
*
* @param fieldName the field name
* @param object the value to add to the <code>toString</code>
* @param obj the value to add to the <code>toString</code>
* @param fullDetail <code>true</code> for detail,
* <code>false</code> for summary info
* @return this
*/
public ToStringBuilder append(String fieldName, Object object, boolean fullDetail) {
style.append(buffer, fieldName, object, BooleanUtils.toBooleanObject(fullDetail));
public ToStringBuilder append(String fieldName, Object obj, boolean fullDetail) {
style.append(buffer, fieldName, obj, BooleanUtils.toBooleanObject(fullDetail));
return this;
}