He-Pin opened a new pull request, #439: URL: https://github.com/apache/pekko-persistence-r2dbc/pull/439
### Motivation Compilation produced 5 deprecation warnings across all Scala versions (2.13.18, 3.3.8, 3.8.4): - 4 warnings for deprecated `Int + String` concatenation (since Scala 2.13.0) - 1 warning for deprecated `deleteObject(persistenceId)` without revision parameter (since 1.0.0) ### Modification - Replace deprecated `n + "-snap"` with string interpolation `s"$n-snap"` in `EventSourcedCleanupSpec.scala` (4 occurrences) - Replace deprecated `deleteObject(persistenceId)` with `deleteObject(persistenceId, 2L)` in `DurableStateStoreSpec.scala`, using proper optimistic locking revision (1 + 1 = 2) ### Result Clean compilation with zero warnings across all Scala versions (2.13.18, 3.3.8, 3.8.4). ### Tests - `sbt +test:compile` - all versions pass with no warnings ### References None - code quality improvement -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
