Skip to content

v1.24.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 04 Oct 17:23

This is the last planned release of google-java-format that will support running on JDK 11, see #1159. Using google-java-format to format code that targets earlier versions of the language is still supported, but running the formatter itself on JDK 17 or newer will be required.

Changes:

  • Fix inconsistency in formatting of comments in switch statements (#1127)
  • Improve handling of {@snippet ...} (ebf9b52)
  • Improve handling of /// comments (#1153)
  • Improve error messages for syntax errors (8c652ed)

Full Changelog: v1.23.0...v1.24.0