Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: google/google-java-format
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.17.0
Choose a base ref
...
head repository: google/google-java-format
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.18.0
Choose a head ref
  • 10 commits
  • 10 files changed
  • 4 contributors

Commits on Jul 27, 2023

  1. Update Guava version

    #950
    
    PiperOrigin-RevId: 551370402
    cushon authored and google-java-format Team committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    4eb2a4d View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2023

  1. Update ci.yml

    Update latest STS from 19 to 20, add 22-ea
    cushon authored Aug 6, 2023
    Configuration menu
    Copy the full SHA
    4ebb6f5 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Fix `java.lang.RuntimeException: Document is locked by write PSI oper…

    …ations` errors
    
    Also update to `google-java-format` 1.17.0
    
    Fixes #960
    
    COPYBARA_INTEGRATE_REVIEW=#960 from facboy:master e0925a2
    PiperOrigin-RevId: 563163224
    facboy authored and google-java-format Team committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    28b199c View commit details
    Browse the repository at this point in the history
  2. Make google-java-format friendlier to TSAN

    This code does deliberate racy initialization of some memoized values,
    and there is a static final instance of the `Space` subclass that ends
    up being shared across multiple threads.
    
    Tested: sponge/1777b644-2dd8-420b-ad06-b4f17c893d8f
    PiperOrigin-RevId: 563181626
    cushon authored and google-java-format Team committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    9f2cd68 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Update the release notes for the IntelliJ plugin.

    (Also updated a dependency and tweaked the comment formatting.)
    
    PiperOrigin-RevId: 563439879
    plumpy authored and google-java-format Team committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    915b78f View commit details
    Browse the repository at this point in the history
  2. Follow-up to 9f2cd68

    Use `com.google.common.base.Supplier`, for compatibility with clients
    that are using the Android version of Guava. Fixes e.g.
    
    ```
    Exception in thread "main" java.lang.IncompatibleClassChangeError: Class com.google.common.base.Suppliers$NonSerializableMemoizingSupplier does not implement the requested interface java.util.function.Supplier
    ```
    
    PiperOrigin-RevId: 563446857
    cushon authored and google-java-format Team committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    d0e44e5 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. Handle final var lambda variables

    The start position of `final` variable is apparently after the token for
    `final`, this works around that by inlining a call to `visitVariable` and
    dropping the `sync` call that asserts the start position of the current
    node matches the next token.
    
    Fixes #959
    
    PiperOrigin-RevId: 564710136
    cushon authored and google-java-format Team committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    1fe6789 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. Configuration menu
    Copy the full SHA
    4ade347 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2023

  1. Update ci.yml

    cushon authored Sep 30, 2023
    Configuration menu
    Copy the full SHA
    c47ebbb View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

  1. Configuration menu
    Copy the full SHA
    11839c0 View commit details
    Browse the repository at this point in the history
Loading