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 20:51:58 UTC

[PR] refactor: replace .collect(Collectors.toList()) with .toList() [pekko-projection]

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

   ### Motivation
   Java 16+ `Stream.toList()` provides a concise way to collect stream elements into an unmodifiable list.
   
   ### Modification
   Replace `.collect(Collectors.toList())` with `.toList()` across 3 files. Remove unused `Collectors` imports.
   
   ### Result
   Cleaner stream collection code using Java 17 API.
   
   ### Tests
   Not run - compile-only test file changes
   
   ### References
   None - Java 17 API modernization


-- 
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: replace .collect(Collectors.toList()) with .toList() [pekko-projection]

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


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