|
@@ -79,7 +79,7 @@ public class SqlRunnerInjector {
|
|
|
MappedStatement ms = new MappedStatement.Builder(configuration, mappedStatement, sqlSource, SqlCommandType.SELECT)
|
|
|
.resultMaps(new ArrayList<ResultMap>() {
|
|
|
{
|
|
|
- add(new ResultMap.Builder(configuration, "defaultResultMap", resultType, new ArrayList<ResultMapping>(0))
|
|
|
+ add(new ResultMap.Builder(configuration, "defaultResultMap", resultType, new ArrayList<>(0))
|
|
|
.build());
|
|
|
}
|
|
|
}).build();
|
|
@@ -99,7 +99,7 @@ public class SqlRunnerInjector {
|
|
|
MappedStatement ms = new MappedStatement.Builder(configuration, mappedStatement, sqlSource, sqlCommandType).resultMaps(
|
|
|
new ArrayList<ResultMap>() {
|
|
|
{
|
|
|
- add(new ResultMap.Builder(configuration, "defaultResultMap", int.class, new ArrayList<ResultMapping>(0))
|
|
|
+ add(new ResultMap.Builder(configuration, "defaultResultMap", int.class, new ArrayList<>(0))
|
|
|
.build());
|
|
|
}
|
|
|
}).build();
|