You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by GitBox <gi...@apache.org> on 2026/06/25 20:32:00 UTC
[GH] (pekko/feature/java17-collection-factory): Workflow run "Pull Requests" failed!
The GitHub Actions job "Pull Requests" on pekko.git/feature/java17-collection-factory has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).
Head commit for run:
b1a182e250e8efae8508a319e119f097ec0d0f96 / 虎鸣 <he...@alibaba-inc.com>
refactor: migrate Collections/Arrays.asList to Java 9+ factory methods
Motivation:
Java 9+ provides List.of(), Map.of(), Set.of() factory methods that are
more concise and return truly immutable collections.
Modification:
Replace Arrays.asList() with List.of(), Collections.emptyList/Map/Set()
with List/Map/Set.of(), Collections.singletonList() with List.of(),
Collections.unmodifiableList() with List.copyOf(), and
Collections.unmodifiableSet() with Set.copyOf() across 79 files.
Skips protobuf-generated code (ReliableDelivery.java, ReplicatedEventSourcing.java).
Result:
Cleaner code using Java 17 immutable collection factories.
Tests:
Not run - compile-only test file changes
References:
None - Java 17 API modernization
Report URL: https://github.com/apache/pekko/actions/runs/28198625921
With regards,
GitHub Actions via GitBox
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org