Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkstyle cleanup #3847

Merged
merged 4 commits into from
Jul 3, 2019
Merged

Checkstyle cleanup #3847

merged 4 commits into from
Jul 3, 2019

Conversation

gregw
Copy link
Contributor

@gregw gregw commented Jul 2, 2019

30+ years of computing experience have been brought to focus to implement this PR! A clean checkstyle pass through the non-test classes!

Signed-off-by: Greg Wilkins gregw@webtide.com

Signed-off-by: Greg Wilkins <gregw@webtide.com>
@gregw gregw requested a review from sbordet July 2, 2019 16:19
Copy link
Contributor

@lachlan-roberts lachlan-roberts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks fine although there are too many changes to look in detail... but a few comments to consider

@@ -497,12 +497,19 @@ public void run()
}
}

// ------------------------------------------------------------
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

forgot to remove this line

@@ -1244,6 +1245,7 @@ protected PKIXBuilderParameters newPKIXBuilderParameters(KeyStore trustStore, Co

return pbParams;
}
// @checkstyle-enable-check : AbbreviationAsWordInNameCheck
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto, also strange place to put this one

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's the way it works! turn it off before the method then back on after.... but I will try to put more locally.... it will be ugly

"org.xml.", // javax.xml
"org.w3c." // javax.xml
);
public static final ClassMatcher __dftSystemClasses = new ClassMatcher(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kinda weird that we have different styles for () vs {} bracket alignment

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I totally agree... but at this point I'm beyond the "reasoning why" and just "doing or dying"
For better or worse, that is the coding style we've gone for and let's get consistent with it for now. Once we are consistent, then making future changes is easier.

Signed-off-by: Greg Wilkins <gregw@webtide.com>
@gregw gregw merged commit d744d09 into jetty-10.0.x Jul 3, 2019
@gregw gregw deleted the jetty-10.0.x-checkstyle-cleanup branch July 3, 2019 15:24
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