From 95a9f64c3e9171d974472f23abadff0f943d8b96 Mon Sep 17 00:00:00 2001 From: Jens Schauder Date: Tue, 24 Sep 2024 09:08:23 +0200 Subject: [PATCH] Polishing. Original pull request #1895 --- .../org/springframework/data/r2dbc/mapping/OutboundRow.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-data-r2dbc/src/main/java/org/springframework/data/r2dbc/mapping/OutboundRow.java b/spring-data-r2dbc/src/main/java/org/springframework/data/r2dbc/mapping/OutboundRow.java index a25f82512b..c9583a4727 100644 --- a/spring-data-r2dbc/src/main/java/org/springframework/data/r2dbc/mapping/OutboundRow.java +++ b/spring-data-r2dbc/src/main/java/org/springframework/data/r2dbc/mapping/OutboundRow.java @@ -227,6 +227,6 @@ public void forEach(BiConsumer action) } private static Object convertKeyIfNecessary(Object key) { - return key instanceof String string ? SqlIdentifier.unquoted(string) : key; + return key instanceof String keyString ? SqlIdentifier.unquoted(keyString) : key; } }