Rename to avoid clashing with parameter names

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565245 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2014-02-06 13:39:50 +00:00
parent 32a260ff46
commit af74365e31
1 changed files with 5 additions and 5 deletions

View File

@ -68,8 +68,8 @@ public class DiffBuilder implements Builder<DiffResult> {
private final List<Diff<?>> diffs;
private final boolean objectsTriviallyEqual;
private final Object lhs;
private final Object rhs;
private final Object left;
private final Object right;
private final ToStringStyle style;
/**
@ -103,8 +103,8 @@ public class DiffBuilder implements Builder<DiffResult> {
}
this.diffs = new ArrayList<Diff<?>>();
this.lhs = lhs;
this.rhs = rhs;
this.left = lhs;
this.right = rhs;
this.style = style;
// Don't compare any fields if objects equal
@ -908,7 +908,7 @@ public class DiffBuilder implements Builder<DiffResult> {
*/
@Override
public DiffResult build() {
return new DiffResult(lhs, rhs, diffs, style);
return new DiffResult(left, right, diffs, style);
}
}