Skip to content

Update checkstyle#132

Merged
asfgit merged 6 commits intoapache:masterfrom
aherbert:update-checkstyle
Feb 24, 2020
Merged

Update checkstyle#132
asfgit merged 6 commits intoapache:masterfrom
aherbert:update-checkstyle

Conversation

@aherbert
Copy link
Copy Markdown
Contributor

Updated checkstyle using commons lang as a template.

Fixed code in main and test to conform. The exclusions are updated to allow tests to ignore some rules.

Added checkstyle:check to the default goal.

Configuration has been added based on commons-lang.

The Apache licence header has been added to the checkstyle config.
Add missing newlines at end of files.

Remove redundant modifiers.

Fix incorrect Apache license header.

Fix whitespace around elements.

Remove tab characters.

Fix right-curly location.

Correct modifier order.
Changed rules to be more lenient on tests.
@aherbert aherbert force-pushed the update-checkstyle branch 2 times, most recently from 79fcc1f to fa276dc Compare February 19, 2020 11:49
aherbert and others added 2 commits February 24, 2020 21:22
Fixed all code. Case statements have an indent of zero as recommended by
Oracle. Previously the code was using either 0 or 4 as the indent. Using
zero for the check has fewer violations that require fixing.
This was the original level before update of checkstyle config.
@asfgit asfgit merged commit ad04fff into apache:master Feb 24, 2020
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