Closed gaurav closed 5 years ago
Yup, it's only whitespace/indentation changes! I think the reason why the Google Java Code Style mandates a default indentation of 2 spaces is so that lines that have more than a 100 characters can be wrapped onto the next line with a 4 space indentation. That works well for me, so I'm going to leave it at a 2 space indent for now, but please do open an issue if you'd like me to increase both those indentations!
This PR adds Spotless as a code style enforcer. Spotless can be run with a goal of either
spotless:check
(which will report violations of the code style) orspotless:apply
(which will automatically fix code style violations). This PR integrates aspotless:check
into themvn test
command, and activates automatic testing of the code style on Travis CI.