This is an automated email from the ASF dual-hosted git repository. pjfanning pushed a commit to branch pjfanning-patch-1 in repository https://gitbox.apache.org/repos/asf/pekko-persistence-r2dbc.git
commit ef9b1c0d4523c76cbf0c47ed94548654bf26c128 Author: PJ Fanning <[email protected]> AuthorDate: Tue Jun 23 20:18:40 2026 +0100 Use Locale.ROOT for string comparison in R2dbcSettings --- .../main/scala/org/apache/pekko/persistence/r2dbc/R2dbcSettings.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/scala/org/apache/pekko/persistence/r2dbc/R2dbcSettings.scala b/core/src/main/scala/org/apache/pekko/persistence/r2dbc/R2dbcSettings.scala index 05d8348..76c5630 100644 --- a/core/src/main/scala/org/apache/pekko/persistence/r2dbc/R2dbcSettings.scala +++ b/core/src/main/scala/org/apache/pekko/persistence/r2dbc/R2dbcSettings.scala @@ -209,7 +209,7 @@ trait ConnectionSettings { } protected def useJsonPayload(configKey: String): Boolean = - config.getString(configKey).toUpperCase match { + config.getString(configKey).toUpperCase(Locale.ROOT) match { case "BYTEA" => false case "JSONB" | "JSON" => true case t => --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
