DATAJDBC-175 - Polishing.

Code formatting.
This commit is contained in:
Jens Schauder
2018-03-07 16:14:18 +01:00
parent 369ca6d599
commit ac4da66d99

View File

@@ -58,8 +58,13 @@ class JdbcQueryLookupStrategy implements QueryLookupStrategy {
Class<?> returnedObjectType = queryMethod.getReturnedObjectType();
RowMapper<?> rowMapper = context.getSimpleTypeHolder().isSimpleType(returnedObjectType)
? SingleColumnRowMapper.newInstance(returnedObjectType, conversionService)
: new EntityRowMapper<>(context.getRequiredPersistentEntity(returnedObjectType), conversionService,
context, accessStrategy);
: new EntityRowMapper<>( //
context.getRequiredPersistentEntity(returnedObjectType), //
conversionService, //
context, //
accessStrategy //
);
return new JdbcRepositoryQuery(queryMethod, context, rowMapper);
}