Skip to content

Commit 97df254

Browse files
committed
Use diamond operator
1 parent 87b0c5c commit 97df254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/mybatis/scripting/freemarker/FreeMarkerSqlSource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public BoundSql getBoundSql(Object parameterObject) {
118118
// Pass retrieved SQL into MyBatis engine, it will substitute prepared-statements parameters
119119
SqlSourceBuilder sqlSourceParser = new SqlSourceBuilder(configuration);
120120
Class<?> parameterType1 = parameterObject == null ? Object.class : parameterObject.getClass();
121-
SqlSource sqlSource = sqlSourceParser.parse(sql, parameterType1, new HashMap<String, Object>());
121+
SqlSource sqlSource = sqlSourceParser.parse(sql, parameterType1, new HashMap<>());
122122
return sqlSource.getBoundSql(parameterObject);
123123
}
124124
}

0 commit comments

Comments
 (0)