-
Notifications
You must be signed in to change notification settings - Fork 288
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
[AMORO-2651] Enable checkstyle when building project #2671
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2671 +/- ##
============================================
- Coverage 34.04% 33.98% -0.06%
+ Complexity 4363 4360 -3
============================================
Files 604 604
Lines 50727 50748 +21
Branches 6671 6671
============================================
- Hits 17268 17247 -21
- Misses 32059 32111 +52
+ Partials 1400 1390 -10
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -96,15 +96,15 @@ public OptimizingConfig setTargetQuota(double targetQuota) { | |||
return this; | |||
} | |||
|
|||
public long getMinPlanInterval() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of the changes are made by the auto formate by IDEA after configured the checkstyle file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for pushing forward this improvement!
The new checkstyle improvements have enhanced existing code and reduced the workload for code reviewers.
I left some comments, PTAL.
eb6c529
to
aab25cb
Compare
aab25cb
to
72fa5b7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@zhoujinsong thanks for the review and merging! |
@klion26 I found that the current check style rules only check imports for classes under |
@zhoujinsong this has been improved in #2679 |
I got it. Thanks a lot for your work. |
Why are the changes needed?
Close #2651.
Brief change log
How was this patch tested?
Add some test cases that check the changes thoroughly including negative and positive cases if possible
Add screenshots for manual tests if appropriate
Run test locally before making a pull request
Documentation