-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Google Code Style plugin and conformance OKAPI-809 (#894)
This uses https://maven.apache.org/plugins/maven-checkstyle-plugin/ and https://checkstyle.sourceforge.io/google_style.html to fail the build if there is a code style violation. Checkstyle's google_style.xml deviates from Google Java Style Guide: Checkstyle requires a switch default for enums where Google Java Style Guide doesn't require it: https://google.github.io/styleguide/javaguide.html#s4.8.4.3-switch-default Indentation of lambdas can be wrong: https://github.com/checkstyle/checkstyle/issues?q=is%3Aopen+label%3Aindentation+lambda Checkstyle has many other open issues regarding indentation: https://github.com/checkstyle/checkstyle/labels/indentation Suppress false positives using https://checkstyle.sourceforge.io/config_filters.html#SuppressWarningsFilter, for example @SuppressWarnings("indentation"). These classes have been renamed (breaking change!): CQLUtil → CqlUtil URLDecoder → UrlDecoder
- Loading branch information
1 parent
c4cfce3
commit 6b4878c
Showing
84 changed files
with
3,338 additions
and
2,092 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.