Skip to content

Commit 1c0d92c

Browse files
committed
Fix lint
1 parent 51bbf97 commit 1c0d92c

File tree

5 files changed

+15
-9
lines changed

5 files changed

+15
-9
lines changed

spring-data-jdbc-plus-repository/src/main/java/com/navercorp/spring/data/jdbc/plus/repository/config/EnableJdbcPlusRepositories.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@
154154

155155

156156
/**
157-
* Configure the name of the {@link org.springframework.data.jdbc.core.JdbcAggregateOperations} bean definition to be
157+
* Configure the name of the
158+
* {@link org.springframework.data.jdbc.core.JdbcAggregateOperations} bean definition to be
158159
* used to create repositories discovered through this annotation.
159160
*/
160161
String jdbcAggregateOperationsRef() default "";

spring-data-jdbc-plus-repository/src/main/java/com/navercorp/spring/data/jdbc/plus/repository/config/JdbcPlusConfiguration.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
* @since 4.0
2020
*/
2121
public class JdbcPlusConfiguration {
22-
private JdbcPlusConfiguration() {}
22+
private JdbcPlusConfiguration() {
23+
}
2324

2425
public static DataAccessStrategy createDataAccessStrategy(
2526
NamedParameterJdbcOperations operations,

spring-data-jdbc-plus-repository/src/main/java/com/navercorp/spring/data/jdbc/plus/repository/support/JdbcPlusRepositoryFactoryBean.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public void afterPropertiesSet() {
284284

285285
SqlGeneratorSource sqlGeneratorSource = new SqlGeneratorSource(
286286
this.mappingContext, this.converter, this.dialect);
287-
com.navercorp.spring.data.jdbc.plus.support.convert.SqlGeneratorSource jdbcPlusSqlGeneratorSource =
287+
com.navercorp.spring.data.jdbc.plus.support.convert.SqlGeneratorSource plusSqlGeneratorSource =
288288
new com.navercorp.spring.data.jdbc.plus.support.convert.SqlGeneratorSource(
289289
this.mappingContext,
290290
this.converter,

spring-data-jdbc-plus-support/src/main/java/com/navercorp/spring/data/jdbc/plus/support/convert/SqlGenerator.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -983,14 +983,16 @@ String selectAggregateFrom() {
983983

984984
AggregatePath.ColumnInfos idColumnInfos = idDefiningParentPath.getTableInfo().idColumnInfos();
985985

986-
Condition joinCondition = backRefColumnInfos.reduce(Conditions.unrestricted(), (aggregatePath, columnInfo) -> {
986+
Condition joinCondition = backRefColumnInfos.reduce(
987+
Conditions.unrestricted(), (aggregatePath, columnInfo) -> {
987988

988-
AggregatePath.ColumnInfo idColumnInfo = idColumnInfos.get(aggregatePath);
989+
AggregatePath.ColumnInfo idColumnInfo = idColumnInfos.get(aggregatePath);
989990

990-
Assert.notNull(idColumnInfo, "IdColumnInfo must not be null");
991+
Assert.notNull(idColumnInfo, "IdColumnInfo must not be null");
991992

992-
return currentTable.column(columnInfo.name()).isEqualTo(parentTable.column(idColumnInfo.name()));
993-
}, Condition::and);
993+
return currentTable.column(
994+
columnInfo.name()).isEqualTo(parentTable.column(idColumnInfo.name()));
995+
}, Condition::and);
994996

995997
joinTables.add(new Join(currentTable, joinCondition));
996998
}

spring-data-jdbc-plus-support/src/main/java/com/navercorp/spring/data/jdbc/plus/support/parametersource/SoftDeleteSqlParametersFactory.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,9 @@ public <T> SqlParameterSource forSoftDeleteByIds(
139139
/**
140140
* COPY {@link org.springframework.data.jdbc.core.convert.SqlParametersFactory#getIdMapper}
141141
*/
142-
private BiFunction<Object, AggregatePath, @Nullable Object> getIdMapper(@Nullable RelationalPersistentEntity<?> complexId) {
142+
private BiFunction<Object, AggregatePath, @Nullable Object> getIdMapper(
143+
@Nullable RelationalPersistentEntity<?> complexId
144+
) {
143145

144146
if (complexId == null) {
145147
return (id, aggregatePath) -> id;

0 commit comments

Comments
 (0)