From ac4da66d99a444dc152014a98272f3de855e6c0d Mon Sep 17 00:00:00 2001 From: Jens Schauder Date: Wed, 7 Mar 2018 16:14:18 +0100 Subject: [PATCH] DATAJDBC-175 - Polishing. Code formatting. --- .../jdbc/repository/support/JdbcQueryLookupStrategy.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/springframework/data/jdbc/repository/support/JdbcQueryLookupStrategy.java b/src/main/java/org/springframework/data/jdbc/repository/support/JdbcQueryLookupStrategy.java index be2d0667e..b7979f583 100644 --- a/src/main/java/org/springframework/data/jdbc/repository/support/JdbcQueryLookupStrategy.java +++ b/src/main/java/org/springframework/data/jdbc/repository/support/JdbcQueryLookupStrategy.java @@ -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); }