The GitHub Actions job "Validate and test" on 
pekko-grpc.git/feature/java17-misc-improvements has succeeded.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
4a8d85144ebcc2adeb299b7c23650770e2409c87 / 虎鸣 <[email protected]>
refactor: use List.copyOf/Set.copyOf (Java 10+)

Motivation:
Replace Collections.unmodifiableList(new ArrayList<>(...)) with the
more concise List.copyOf() available since Java 10.

Modification:
Use List.copyOf() and Set.copyOf() which create immutable copies in
a single call, eliminating the intermediate mutable collection.

Result:
Cleaner, more concise code. List.copyOf also rejects nulls, providing
fail-fast behavior for configuration classes.

Report URL: https://github.com/apache/pekko-grpc/actions/runs/28218377954

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to