Skip to content

Commit a637019

Browse files
committed
code: fix formatting
Signed-off-by: Artemiy Chereshnevvv <chereshnevvv4real@gmail.com>
1 parent 89b59e0 commit a637019

File tree

7 files changed

+505
-484
lines changed

7 files changed

+505
-484
lines changed

spring-data-jdbc/src/main/java/org/springframework/data/jdbc/repository/aot/JdbcCodeBlocks.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import java.util.stream.Stream;
3131

3232
import org.jspecify.annotations.Nullable;
33-
3433
import org.springframework.core.annotation.MergedAnnotation;
3534
import org.springframework.data.domain.SliceImpl;
3635
import org.springframework.data.domain.Sort;

spring-data-jdbc/src/main/java/org/springframework/data/jdbc/repository/query/JdbcCountQueryCreator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ public JdbcCountQueryCreator(PartTree tree, JdbcConverter converter, Dialect dia
4646
JdbcCountQueryCreator(RelationalMappingContext context, PartTree tree, JdbcConverter converter, Dialect dialect,
4747
RelationalEntityMetadata<?> entityMetadata, RelationalParameterAccessor accessor, boolean isSliceQuery,
4848
ReturnedType returnedType, Optional<Lock> lockMode, boolean isScrollQuery) {
49-
super(context, tree, converter, dialect, entityMetadata, accessor, isSliceQuery, returnedType, lockMode, isScrollQuery);
49+
super(context, tree, converter, dialect, entityMetadata, accessor, isSliceQuery, returnedType, lockMode,
50+
isScrollQuery);
5051
}
5152

5253
@Override

spring-data-jdbc/src/main/java/org/springframework/data/jdbc/repository/query/JdbcQueryCreator.java

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import java.util.Optional;
1919

2020
import org.jspecify.annotations.Nullable;
21-
2221
import org.springframework.data.domain.Sort;
2322
import org.springframework.data.jdbc.core.convert.JdbcConverter;
2423
import org.springframework.data.jdbc.core.convert.SqlGeneratorSource;
@@ -80,8 +79,8 @@ public class JdbcQueryCreator extends RelationalQueryCreator<ParametrizedQuery>
8079
*/
8180
@Deprecated(since = "4.0", forRemoval = true)
8281
JdbcQueryCreator(RelationalMappingContext context, PartTree tree, JdbcConverter converter, Dialect dialect,
83-
RelationalEntityMetadata<?> entityMetadata, RelationalParameterAccessor accessor, boolean isSliceQuery,
84-
ReturnedType returnedType, Optional<Lock> lockMode, boolean isScrollQuery) {
82+
RelationalEntityMetadata<?> entityMetadata, RelationalParameterAccessor accessor, boolean isSliceQuery,
83+
ReturnedType returnedType, Optional<Lock> lockMode, boolean isScrollQuery) {
8584
this(context, tree, converter, dialect, entityMetadata, accessor, isSliceQuery, returnedType, lockMode,
8685
new SqlGeneratorSource(context, converter, dialect), isScrollQuery);
8786
}
@@ -98,7 +97,7 @@ public class JdbcQueryCreator extends RelationalQueryCreator<ParametrizedQuery>
9897
* @since 4.0
9998
*/
10099
public JdbcQueryCreator(PartTree tree, JdbcConverter converter, Dialect dialect, JdbcQueryMethod queryMethod,
101-
RelationalParameterAccessor accessor, ReturnedType returnedType) {
100+
RelationalParameterAccessor accessor, ReturnedType returnedType) {
102101
this(converter.getMappingContext(), tree, converter, dialect, queryMethod.getEntityInformation(), accessor,
103102
queryMethod.isSliceQuery(), returnedType, queryMethod.lookupLockAnnotation(),
104103
new SqlGeneratorSource(converter, dialect), queryMethod.isScrollQuery());
@@ -108,23 +107,24 @@ public JdbcQueryCreator(PartTree tree, JdbcConverter converter, Dialect dialect,
108107
* Creates new instance of this class with the given {@link PartTree}, {@link JdbcConverter}, {@link Dialect},
109108
* {@link RelationalEntityMetadata} and {@link RelationalParameterAccessor}.
110109
*
111-
* @param context the mapping context. Must not be {@literal null}.
112-
* @param tree part tree, must not be {@literal null}.
113-
* @param converter must not be {@literal null}.
114-
* @param dialect must not be {@literal null}.
115-
* @param entityMetadata relational entity metadata, must not be {@literal null}.
116-
* @param accessor parameter metadata provider, must not be {@literal null}.
117-
* @param isSliceQuery flag denoting if the query returns a {@link org.springframework.data.domain.Slice}.
118-
* @param returnedType the {@link ReturnedType} to be returned by the query. Must not be {@literal null}.
119-
* @param lockMode lock mode to be used for the query.
110+
* @param context the mapping context. Must not be {@literal null}.
111+
* @param tree part tree, must not be {@literal null}.
112+
* @param converter must not be {@literal null}.
113+
* @param dialect must not be {@literal null}.
114+
* @param entityMetadata relational entity metadata, must not be {@literal null}.
115+
* @param accessor parameter metadata provider, must not be {@literal null}.
116+
* @param isSliceQuery flag denoting if the query returns a {@link org.springframework.data.domain.Slice}.
117+
* @param returnedType the {@link ReturnedType} to be returned by the query. Must not be {@literal null}.
118+
* @param lockMode lock mode to be used for the query.
120119
* @param sqlGeneratorSource the source providing SqlGenerator instances for generating SQL. Must not be
121-
* {@literal null}
122-
* @param isScrollQuery
120+
* {@literal null}
121+
* @param isScrollQuery flag denoting if the query returns a {@link org.springframework.data.domain.Window}.
123122
* @since 4.0
124123
*/
125124
public JdbcQueryCreator(RelationalMappingContext context, PartTree tree, JdbcConverter converter, Dialect dialect,
126-
RelationalEntityMetadata<?> entityMetadata, RelationalParameterAccessor accessor, boolean isSliceQuery,
127-
ReturnedType returnedType, Optional<Lock> lockMode, SqlGeneratorSource sqlGeneratorSource, boolean isScrollQuery) {
125+
RelationalEntityMetadata<?> entityMetadata, RelationalParameterAccessor accessor, boolean isSliceQuery,
126+
ReturnedType returnedType, Optional<Lock> lockMode, SqlGeneratorSource sqlGeneratorSource,
127+
boolean isScrollQuery) {
128128
super(tree, accessor);
129129

130130
Assert.notNull(converter, "JdbcConverter must not be null");

0 commit comments

Comments
 (0)