Skip to content

Commit

Permalink
USe generics
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Dec 18, 2024
1 parent 95d3485 commit 8264028
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public void testLeftAndRightGetters() {
final SimpleClass right = new SimpleClass(false);

final List<Diff<?>> diffs = left.diff(right).getDiffs();
final DiffResult diffResult = new DiffResult(left, right, diffs, SHORT_STYLE, DiffBuilder.TO_STRING_FORMAT);
final DiffResult<SimpleClass> diffResult = new DiffResult<>(left, right, diffs, SHORT_STYLE, DiffBuilder.TO_STRING_FORMAT);

assertEquals(left, diffResult.getLeft());
assertEquals(right, diffResult.getRight());
Expand Down

0 comments on commit 8264028

Please sign in to comment.