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; } }