UWIT-IAM / cert-service

UW certificate service website
2 stars 0 forks source link

Format using google-java-format #61

Closed stea-uw closed 10 months ago

stea-uw commented 10 months ago

The first commit adds the google-java-formatter (via spotless) to our pom.xml, and the second simply runs it. Though this PR is large now, it will help prevent misconfigured IDEs from mis-formatting the code in the future.

This is a large PR because it was generated by an automated tool.

If you wish to verify this PR, you can copy the pom.xml settings, then run the following maven command.

mvn spotless:apply

You should end up with the exact same repo state as this PR.

mar235av commented 10 months ago

Reviewed and looks OK. I didn't do a full validation as it's clear that even though there are a lot of changes, they are all driven by running a standard formatter in which we can have confidence. We will want to run a set of reasonable tests before pushing these changes into prod.