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:
parent
32a260ff46
commit
af74365e31
|
@ -68,8 +68,8 @@ public class DiffBuilder implements Builder<DiffResult> {
|
||||||
|
|
||||||
private final List<Diff<?>> diffs;
|
private final List<Diff<?>> diffs;
|
||||||
private final boolean objectsTriviallyEqual;
|
private final boolean objectsTriviallyEqual;
|
||||||
private final Object lhs;
|
private final Object left;
|
||||||
private final Object rhs;
|
private final Object right;
|
||||||
private final ToStringStyle style;
|
private final ToStringStyle style;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -103,8 +103,8 @@ public class DiffBuilder implements Builder<DiffResult> {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.diffs = new ArrayList<Diff<?>>();
|
this.diffs = new ArrayList<Diff<?>>();
|
||||||
this.lhs = lhs;
|
this.left = lhs;
|
||||||
this.rhs = rhs;
|
this.right = rhs;
|
||||||
this.style = style;
|
this.style = style;
|
||||||
|
|
||||||
// Don't compare any fields if objects equal
|
// Don't compare any fields if objects equal
|
||||||
|
@ -908,7 +908,7 @@ public class DiffBuilder implements Builder<DiffResult> {
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public DiffResult build() {
|
public DiffResult build() {
|
||||||
return new DiffResult(lhs, rhs, diffs, style);
|
return new DiffResult(left, right, diffs, style);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue