USe generics
This commit is contained in:
parent
95d3485cd4
commit
82640281c8
|
@ -88,7 +88,7 @@ public class DiffResultTest extends AbstractLangTest {
|
||||||
final SimpleClass right = new SimpleClass(false);
|
final SimpleClass right = new SimpleClass(false);
|
||||||
|
|
||||||
final List<Diff<?>> diffs = left.diff(right).getDiffs();
|
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(left, diffResult.getLeft());
|
||||||
assertEquals(right, diffResult.getRight());
|
assertEquals(right, diffResult.getRight());
|
||||||
|
|
Loading…
Reference in New Issue