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

style: Upgrade checkstyle #441

Merged
merged 3 commits into from
Apr 2, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion checkstyle.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'checkstyle'

checkstyle {
toolVersion = "6.16"
toolVersion = "8.18"
}

task("checkstyle", type: Checkstyle) {
Expand Down
4 changes: 1 addition & 3 deletions config/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@
<property name="tokens" value="LITERAL_TRY, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE, LITERAL_SWITCH"/>
</module>
<module name="NeedBraces"/>
<module name="LeftCurly">
<property name="maxLineLength" value="100"/>
</module>
<module name="LeftCurly"/>
<module name="RightCurly"/>
<module name="RightCurly">
<property name="option" value="alone"/>
Expand Down
1 change: 0 additions & 1 deletion sdk/src/main/java/com/bugsnag/android/Callback.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.bugsnag.android;


import android.support.annotation.NonNull;

/**
Expand Down
1 change: 0 additions & 1 deletion sdk/src/main/java/com/bugsnag/android/Delivery.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.bugsnag.android;


import android.support.annotation.NonNull;

/**
Expand Down