From 5becf8d1a9456144ca12d7bb0338fd0caf7ac021 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 7422b195..abd86300 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 @@ -93,8 +93,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]); } }