diff --git a/jdbcmapper/src/main/java/com/moparisthebest/jdbc/codegen/CompileTimeRowToObjectMapper.java b/jdbcmapper/src/main/java/com/moparisthebest/jdbc/codegen/CompileTimeRowToObjectMapper.java index e1d1f74..c785175 100644 --- a/jdbcmapper/src/main/java/com/moparisthebest/jdbc/codegen/CompileTimeRowToObjectMapper.java +++ b/jdbcmapper/src/main/java/com/moparisthebest/jdbc/codegen/CompileTimeRowToObjectMapper.java @@ -180,7 +180,7 @@ public class CompileTimeRowToObjectMapper { mapFields.put(keys[i], null); } - final List allTypes = getAllImplementedTypes(declaredReturnType, new ArrayList<>()); + final List allTypes = getAllImplementedTypes(declaredReturnType, new ArrayList()); // public methods // have to loop to get super methods too