Skip to content

Commit 51816a3

Browse files
committed
Update Checkstyle to version 8.44, remove parentheses (#219)
1 parent eb2d695 commit 51816a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ subprojects {
7777
}
7878

7979
checkstyle {
80-
toolVersion '8.30'
80+
toolVersion '8.44'
8181
}
8282

8383
tasks.withType(JavaCompile) {

metafix/src/main/java/org/metafacture/metafix/Metafix.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ public void endRecord() {
200200

201201
private void emit(final String field, final Value value) {
202202
Value.asList(value, array -> {
203-
final boolean isMulti = (repeatedFieldsToEntities && array.size() > 1) || isArrayName(field); // checkstyle-disable-line UnnecessaryParentheses
203+
final boolean isMulti = repeatedFieldsToEntities && array.size() > 1 || isArrayName(field);
204204
if (isMulti) {
205205
outputStreamReceiver.startEntity(field);
206206
}

0 commit comments

Comments
 (0)