diff --git a/src/test/java/org/apache/commons/lang3/builder/DiffResultTest.java b/src/test/java/org/apache/commons/lang3/builder/DiffResultTest.java index cf7d3da16..7c5851769 100644 --- a/src/test/java/org/apache/commons/lang3/builder/DiffResultTest.java +++ b/src/test/java/org/apache/commons/lang3/builder/DiffResultTest.java @@ -88,7 +88,7 @@ public class DiffResultTest extends AbstractLangTest { final SimpleClass right = new SimpleClass(false); final List> diffs = left.diff(right).getDiffs(); - final DiffResult diffResult = new DiffResult(left, right, diffs, SHORT_STYLE, DiffBuilder.TO_STRING_FORMAT); + final DiffResult diffResult = new DiffResult<>(left, right, diffs, SHORT_STYLE, DiffBuilder.TO_STRING_FORMAT); assertEquals(left, diffResult.getLeft()); assertEquals(right, diffResult.getRight());