Skip to content

Commit 5becf8d

Browse files
committed
Polishing.
Reformat code. See #1666 Original pull request: #1667
1 parent fb8ef0f commit 5becf8d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spring-data-jdbc/src/main/java/org/springframework/data/jdbc/core/convert/IdGeneratingBatchInsertStrategy.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ public Object[] execute(String sql, SqlParameterSource[] sqlParameterSources) {
9393

9494
private String[] getKeyColumnNames(IdGeneration idGeneration) {
9595

96-
return Optional.ofNullable(idColumn)
97-
.map(idColumn -> new String[] {idGeneration.getKeyColumnName( idColumn) })
96+
return Optional.ofNullable(idColumn).map(idColumn -> new String[] { idGeneration.getKeyColumnName(idColumn) })
9897
.orElse(new String[0]);
9998
}
10099
}

0 commit comments

Comments
 (0)