File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
src/main/java/org/apache/commons/lang3/builder Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 4141 *
4242 * ...
4343 *
44- * public DiffResult diff(Person obj) {
44+ * public DiffResult<Person> diff(Person obj) {
4545 * // No need for null check, as NullPointerException correct if obj is null
46- * return new DiffBuilder.<Person>builder()
46+ * return DiffBuilder.<Person>builder()
4747 * .setLeft(this)
4848 * .setRight(obj)
49- * .setStyle(ToStringStyle.SHORT_PREFIX_STYLE))
49+ * .setStyle(ToStringStyle.SHORT_PREFIX_STYLE)
5050 * .build()
5151 * .append("name", this.name, obj.name)
5252 * .append("age", this.age, obj.age)
Original file line number Diff line number Diff line change 4343 * boolean smoker;
4444 * ...
4545 *
46- * public DiffResult diff(Person obj) {
46+ * public DiffResult<Person> diff(Person obj) {
4747 * // No need for null check, as NullPointerException correct if obj is null
48- * return new ReflectionDiffBuilder.<Person>builder()
48+ * return ReflectionDiffBuilder.<Person>builder()
4949 * .setDiffBuilder(DiffBuilder.<Person>builder()
5050 * .setLeft(this)
5151 * .setRight(obj)
5252 * .setStyle(ToStringStyle.SHORT_PREFIX_STYLE)
5353 * .build())
5454 * .setExcludeFieldNames("userName", "password")
55+ * .build()
5556 * .build();
5657 * }
5758 * }
You can’t perform that action at this time.
0 commit comments