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.12.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.13.0
Choose a head ref
  • 8 commits
  • 13 files changed
  • 3 contributors

Commits on Oct 21, 2021

  1. Fix JDK 18 EA build

    cushon authored and google-java-format Team committed Oct 21, 2021
    Configuration menu
    Copy the full SHA
    32a9196 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2021

  1. Update g-j-f version for release

    PiperOrigin-RevId: 405442838
    cushon authored and google-java-format Team committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    96a8b90 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2021

  1. Migrate from JSR305's javax.annotation.CheckReturnValue to ErrorPro…

    …ne's `com.google.errorprone.annotations.CheckReturnValue`.
    
    PiperOrigin-RevId: 408698115
    kluever authored and google-java-format Team committed Nov 9, 2021
    Configuration menu
    Copy the full SHA
    7edc048 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2021

  1. Remove use of distutils

    Distutils will be deprecated in python 3.12, see [PEP 632](https://www.python.org/dev/peps/pep-0632/).
    
    `shutil.which` is the recommended replacement for `distutils.spawn.find_executable`.
    
    Fixes #680
    
    COPYBARA_INTEGRATE_REVIEW=#680 from nakulj:patch-1 48c041a
    PiperOrigin-RevId: 409989153
    nakulj authored and google-java-format Team committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    5bd619d View commit details
    Browse the repository at this point in the history
  2. Fix py3 issues with g-j-f-diff

    - `StringIO` expectes `Text`, not `bytes`.
    - `string.join(a,b)` is replaced with `b.join(a)`
    
    Fixes #682
    
    COPYBARA_INTEGRATE_REVIEW=#682 from nakulj:patch-2 6f86f50
    PiperOrigin-RevId: 409992189
    nakulj authored and google-java-format Team committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    c874114 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2021

  1. Fix handling of case patterns in unused import removal

    #684
    
    PiperOrigin-RevId: 411136606
    cushon authored and google-java-format Team committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    58978e6 View commit details
    Browse the repository at this point in the history
  2. Update handling of pattern matching in switch

    for AST changes in Java 17, in particular the addition of CaseTree#getLabels,
    which returns a single `DefaultCaseLabelTree` to represent the default case.
    
    #683
    #684
    
    PiperOrigin-RevId: 411146137
    cushon authored and google-java-format Team committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    8be9250 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    501cdb0 View commit details
    Browse the repository at this point in the history
Loading