This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git
commit 82640281c8259511a40f39c105487f269239a47a Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Wed Dec 18 09:12:25 2024 -0500 USe generics --- src/test/java/org/apache/commons/lang3/builder/DiffResultTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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<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());