He-Pin opened a new pull request, #3140: URL: https://github.com/apache/pekko/pull/3140
### Motivation Scaladoc examples in the Stream Java DSL use `Arrays.asList(...)` which creates a mutable fixed-size list backed by an array. ### Modification Replace with `List.of(...)` (JDK 9 factory) which returns a truly immutable list, consistent with modern Java best practices. Also updates the executable `Graph.scala` code where `util.Arrays.asList` was used. ### Result Documentation examples use idiomatic JDK 9+ API. ### Tests Not run - docs only (Scaladoc comments) ### 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]
