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

   ### Motivation
   Several Java source files produce compilation warnings during sbt 
compilation:
   - `OptionalUtil.scalaNone()` has an unchecked covariant cast from 
`scala.Option<?>` to `scala.Option<T>`
   - `ThrottlerTransportAdapterTest` uses deprecated classic remoting APIs 
(intentionally, for Java interop verification)
   - `MyJavaStateStore.deleteObject(String)` overrides a deprecated interface 
method from `DurableStateUpdateStore`
   
   ### Modification
   - Add `@SuppressWarnings("unchecked")` to `OptionalUtil.scalaNone()`
   - Add `@SuppressWarnings("deprecation")` to `ThrottlerTransportAdapterTest`
   - Add `@SuppressWarnings("deprecation")` to 
`MyJavaStateStore.deleteObject(String)`
   
   ### Result
   Java compilation no longer reports warnings for these files. All changes are 
suppression annotations on code where the underlying usage is intentional and 
correct.
   
   ### Tests
   - `sbt "actor / compile"` - no warnings
   - `sbt "remote / Test / compile"` - no warnings
   - `sbt "docs / compile"` - no warnings
   
   ### References
   None - 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