The GitHub Actions job "Binary Compatibility" on 
pekko.git/feature/java17-collection-factory has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
680852a3ea05a1fe7090269227370c6fca504945 / 虎鸣 <[email protected]>
fix: revert Collections.emptySet/emptyMap/emptyList to original API

Motivation:
Review feedback: prefer Collections.emptySet(), Collections.emptyMap(),
Collections.emptyList() over Set.of(), Map.of(), List.of() for empty
collections since they use well-known immutable singleton APIs.

Modification:
Revert empty collection conversions (Set.of() -> Collections.emptySet(),
Map.of() -> Collections.emptyMap(), List.of() -> Collections.emptyList())
while keeping non-empty Arrays.asList -> List.of and
Collections.singletonList -> List.of conversions.

Result:
Empty collections use the established Collections.empty* API while
non-empty collections use the modern List.of/Set.of/Map.of factories.

Report URL: https://github.com/apache/pekko/actions/runs/28215436838

With regards,
GitHub Actions via GitBox


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

Reply via email to