This is an automated email from the ASF dual-hosted git repository.
pjfanning pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-persistence-r2dbc.git
The following commit(s) were added to refs/heads/main by this push:
new 6b0e322 Use Locale.ROOT for string comparison in R2dbcSettings (#425)
6b0e322 is described below
commit 6b0e32235a8385806ec6caa783a001e9d92af2d6
Author: PJ Fanning <[email protected]>
AuthorDate: Tue Jun 23 20:24:14 2026 +0100
Use Locale.ROOT for string comparison in R2dbcSettings (#425)
---
.../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]