-
Notifications
You must be signed in to change notification settings - Fork 844
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
style: update checkstyle + turn on some rules #847
Conversation
AlexElin
commented
Jun 23, 2017
- Update checkstyle to 7.8.2
- Add checkstyle module "RedundantModifier"
- Uncomment checkstyle modules "ArrayTypeStyle", "ModifierOrder"
1. Update checkstyle to 7.8.2 2. Add checkstyle module "RedundantModifier" 3. Uncomment checkstyle modules "ArrayTypeStyle", "ModifierOrder"
Codecov Report
@@ Coverage Diff @@
## master #847 +/- ##
============================================
- Coverage 65.25% 65.25% -0.01%
+ Complexity 3519 3518 -1
============================================
Files 166 166
Lines 15253 15253
Branches 2474 2474
============================================
- Hits 9954 9953 -1
Misses 4103 4103
- Partials 1196 1197 +1 |
I like the idea of checkstyle but this seems like a pretty invasive change for relatively little benefit? What is the new rule supposed to prevent/fix/help ? |
It's a pretty invasive change, but I think that it help to have more quality in the code, force the uniform style in general is a good practice. |
# Conflicts: # pgjdbc/src/main/java/org/postgresql/util/PSQLState.java
@davecramer the new rule suppused to force uniform style, prevent from writing a needless code (e.g. public modifier in inerface's methods, nested enums as static and so on) |
Most changes seems to be array declarations, which matches the Google code style documentation 4.8.3.2 No C-style array declarations |
I'm inclined to +1 the change |
I'm fine with it as well
Dave Cramer
…On 26 June 2017 at 11:46, Vladimir Sitnikov ***@***.***> wrote:
I'm inclined to +1 the change
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#847 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAYz9tCb_9vVLOigw4BGZV7KxZ602xctks5sH9I5gaJpZM4ODvJ4>
.
|