Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use JDK classes instead of Guava to create immutable collections #615

Commits on Oct 31, 2023

  1. Use JDK classes instead of Guava to create immutable collections

    Java itself is powerful enough to express immutability. There is no need
    to keep using Guava for this. This change removes all usages of
    ImmutableList, ImmutableSet and ImmutableMap and replaces them with
    List, Set, Map and the Collections utility class.
    
    Example:
    ImmutableList.copyOf(...) -> List.copyOf(...)
    ImmutableMap.of(...) -> Map.of(...)
    ImmutableSet.of() -> Collections.emptySet()
    ptziegler committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    e214d67 View commit details
    Browse the repository at this point in the history