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

   ## Summary
   - Migrate `List<String>.toArray()` → `.toArray(String[]::new)` in 
`TestKitDocTest.java` (2 occurrences)
   - Migrate `List<Boolean>.toArray()` → `.toArray(Boolean[]::new)` in 
`SourceTest.java`
   
   Java 11 added `Collection.toArray(IntFunction<T[]>)` which produces a 
type-safe array instead of `Object[]`.
   
   ## Test plan
   - [x] `sbt javafmtAll` — all files formatted
   - [x] Both affected modules compile successfully
   - [ ] CI validates full test suite
   
   Part of the Java 17 modernization effort. See also #3188, #3189, #3190, 
#3191, #3192, #3193, #3194.


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