diff --git a/src/test/java/org/apache/ibatis/domain/misc/RichType.java b/src/test/java/org/apache/ibatis/domain/misc/RichType.java index 321d6cd6b0a..7e4159ca598 100644 --- a/src/test/java/org/apache/ibatis/domain/misc/RichType.java +++ b/src/test/java/org/apache/ibatis/domain/misc/RichType.java @@ -28,9 +28,9 @@ public class RichType { private String richProperty; - private Map richMap = new HashMap(); + private Map richMap = new HashMap<>(); - private List richList = new ArrayList() { + private List richList = new ArrayList<>() { { add("bar"); }