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

   ### Motivation
   
   `CountMinSketch.java` line 181 uses `(Float) o` cast inside an `instanceof 
Float f` pattern match. The pattern variable `f` is already bound to the Float 
value, making the explicit cast redundant.
   
   ### Modification
   
   Use the pattern variable `f` directly instead of `(Float) o`.
   
   ### Result
   
   Cleaner code, no functional change.
   
   ### Tests
   
   - `sbt "remote/compile"` — passed
   
   ### References
   
   Refs #3136


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