He-Pin opened a new pull request, #409:
URL: https://github.com/apache/pekko-persistence-r2dbc/pull/409

   ### Motivation
   The project had several compiler warnings that cluttered build output:
   an sbt lint warning about unused `previewPath` key, an existential type
   feature warning in `ConnectionFactoryProvider`, a deprecation warning in
   the Java DSL `R2dbcDurableStateStore`, and an annotation parsing warning
   from the external r2dbc-spi dependency.
   
   ### Modification
   - Add `Global / excludeLintKeys += previewPath` in build.sbt docs project
     to suppress the sbt lint warning about the unused key
   - Add `import scala.language.existentials` in 
`ConnectionFactoryProvider.scala`
     to suppress the existential type feature warning
   - Change javadsl `R2dbcDurableStateStore.deleteObject(persistenceId)` to
     delegate to the non-deprecated `scalaStore.deleteObject(persistenceId,
     revision = 0)` overload instead of the deprecated single-arg method
   - Add `-Wconf:msg=could not find MAYBE in enum:s` for both Scala 2.13 and
     Scala 3 in `CommonSettings.scala` to suppress the unfixable r2dbc-spi
     annotation parsing warning
   
   ### Result
   Clean compilation with zero warnings under both Scala 2.13 and Scala 3,
   including when compiled with `-deprecation` and `-feature` flags.
   
   ### Tests
   - `sbt "clean; compile"` - zero warnings
   - `sbt` with `-deprecation -feature` flags - zero warnings
   
   ### References
   None - compiler warning cleanup


-- 
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]

Reply via email to