Hi all,
quick heads up, the Java code formatting has been switched to Spotless,
along with the latest
java-code-format version available for Java 8 (there are newer versions,
they require Java 11).

Not much changed for you, the new version of java-code-format formats lamba
in a slightly
more compact way, and indents annotations spanning multiple lines a little
more.
It's still getting executed while you do a "mvn clean install" (which you
do every time before
pushing a PR, right?... right???).

If you want to manually format code, the command is now "mvn spotless
apply".

Spotless keeps a bunch of .spotless-index files around the modules, to
track which files
have been modified and need to be reformatted. They are in .gitignore, so
no chance
of committing them, but if you switch to an older branch that does not have
the
updated .gitattributes, they will show up as "new files". Just in case, you
know where they
are coming from.

Cheers
Andrea
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to