USe generics

This commit is contained in:
Gary Gregory 2024-12-18 09:12:25 -05:00
parent 95d3485cd4
commit 82640281c8
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ public class DiffResultTest extends AbstractLangTest {
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());