Skip to content

style: add support to automatically format generated code using google-java-format#2

Merged
mcnulty-fp merged 9 commits into
docs/INTER-1819-public-updatesfrom
style/INTER-1443-fix-imports
Feb 27, 2026
Merged

style: add support to automatically format generated code using google-java-format#2
mcnulty-fp merged 9 commits into
docs/INTER-1819-public-updatesfrom
style/INTER-1443-fix-imports

Conversation

@mcnulty-fp

@mcnulty-fp mcnulty-fp commented Feb 23, 2026

Copy link
Copy Markdown
Contributor
  • Add new job to test workflow to check formatting of the .java files
  • Add support to the gradle for using google-java-format to check formatting and formatting the source code, including removal of unused imports
  • Run formatting tasks against the code. All non-build related changes are only formatting related. A large amount of the changes are removal of trailing whitespace at the end of lines.

@mcnulty-fp
mcnulty-fp marked this pull request as ready for review February 24, 2026 19:53
@mcnulty-fp
mcnulty-fp changed the base branch from feat/migrate-to-api-v4-INTER-1493 to main February 25, 2026 18:02
@mcnulty-fp
mcnulty-fp marked this pull request as draft February 25, 2026 23:50
@mcnulty-fp
mcnulty-fp marked this pull request as draft February 25, 2026 23:50
- Add new job to test workflow to check formatting of the .java
  files
- Add support for using google-java-format to check formatting
  and formatting the source code
- Update the formatting tasks to use native binaries rather than the
  all-deps jar to avoid issues with usage of JDK APIs that aren't
  included in every JDK distribution.
@mcnulty-fp
mcnulty-fp force-pushed the style/INTER-1443-fix-imports branch from c857953 to 437393d Compare February 26, 2026 20:39
@mcnulty-fp
mcnulty-fp changed the base branch from main to docs/INTER-1819-public-updates February 26, 2026 20:40
@mcnulty-fp
mcnulty-fp force-pushed the style/INTER-1443-fix-imports branch from 437393d to 1bbca94 Compare February 26, 2026 21:05
- Split the unused imports changes from the formatting changes. This
  ensures that the unused import changes don't introduce errors that
  will be caught by the formatting check later on.
- Update the naming for the format check task to `checkFormat`
- google-java-format does not find SimpleContext has unused but other
  tooling does so update the template to remove the unused import.
@mcnulty-fp
mcnulty-fp force-pushed the style/INTER-1443-fix-imports branch from 1bbca94 to ade4957 Compare February 26, 2026 21:10
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Following releases will be created using changesets from this PR:

java-sdk@8.0.0-rc.1

Patch Changes

  • Change root package from com.fingerprint to com.fingerprint.v4 (7ba8295)

@mcnulty-fp
mcnulty-fp marked this pull request as ready for review February 26, 2026 21:15
@mcnulty-fp
mcnulty-fp merged commit 36b2040 into docs/INTER-1819-public-updates Feb 27, 2026
12 of 13 checks passed
@mcnulty-fp
mcnulty-fp deleted the style/INTER-1443-fix-imports branch February 27, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants