From 126781f2f81adc3504328fb4ea4168eadeecb9d9 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Mon, 20 Nov 2023 14:46:19 +0100 Subject: [PATCH] Polishing. Reformat code. See #1666 Original pull request: #1667 --- .../jdbc/core/convert/IdGeneratingBatchInsertStrategy.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spring-data-jdbc/src/main/java/org/springframework/data/jdbc/core/convert/IdGeneratingBatchInsertStrategy.java b/spring-data-jdbc/src/main/java/org/springframework/data/jdbc/core/convert/IdGeneratingBatchInsertStrategy.java index 04853af0..9cd20ed1 100644 --- a/spring-data-jdbc/src/main/java/org/springframework/data/jdbc/core/convert/IdGeneratingBatchInsertStrategy.java +++ b/spring-data-jdbc/src/main/java/org/springframework/data/jdbc/core/convert/IdGeneratingBatchInsertStrategy.java @@ -96,8 +96,7 @@ class IdGeneratingBatchInsertStrategy implements BatchInsertStrategy { private String[] getKeyColumnNames(IdGeneration idGeneration) { - return Optional.ofNullable(idColumn) - .map(idColumn -> new String[] {idGeneration.getKeyColumnName( idColumn) }) + return Optional.ofNullable(idColumn).map(idColumn -> new String[] { idGeneration.getKeyColumnName(idColumn) }) .orElse(new String[0]); } }