He-Pin opened a new pull request, #555: URL: https://github.com/apache/pekko-persistence-jdbc/pull/555
### Motivation Compilation produced 20 warnings in Scala 2.13 and 5 warnings in Scala 3.8.4: - Unused local vals in documentation snippet files - False positive "possible missing interpolator" on HOCON config strings - Unused parameters and pattern variables in test code - Non-exhaustive match expressions in test code - Deprecated `x: _*` vararg splice syntax in Scala 3 ### Modification - Add `@nowarn` annotations for unused vals in `ScaladslSnippets` (core and state) - Add `@nowarn` annotations for HOCON config strings in `TablesTestSpec` and `PekkoPersistenceConfigTest` - Replace unused parameters with `_` in `EventsByInfrequentTagTest` - Add wildcard cases to non-exhaustive matches in `CurrentEventsByPersistenceIdTest`, `EventsByPersistenceIdTest`, and `EventAdapterTest` - Replace `Vector(range: _*)` with `range.toVector` in `JdbcJournalPerfSpec` - Replace `Set(tags: _*)` with `tags.toSet` in `QueryTestSpec` - Add `-Wconf` for vararg splice deprecation in Scala 3 build config ### Result Clean compilation with zero warnings across all Scala versions. ### 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]
