You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "He-Pin (via GitHub)" <gi...@apache.org> on 2026/06/25 21:20:12 UTC

[PR] refactor: migrate switch statements to modern switch syntax (Java 14+) [pekko-grpc]

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

   ## Summary
   - Migrate switch statements to enhanced switch syntax and switch expressions (Java 14+ API)
   - 4 files updated: LoadClient (3 switch expressions), LoadServer (enhanced switch), AsyncClient (switch expression), TestServiceClient (enhanced switch with 22 cases)
   - Behavior-preserving refactoring, significant reduction in boilerplate (197 deletions, 96 insertions)
   
   ## Test plan
   - [ ] Existing tests pass (behavior-preserving refactoring)
   - [ ] `sbt javafmtAll` passes with JDK 17


-- 
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: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org


Re: [PR] refactor: migrate switch statements to modern switch syntax (Java 14+) [pekko-grpc]

Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
He-Pin merged PR #754:
URL: https://github.com/apache/pekko-grpc/pull/754


-- 
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: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org