mccheah commented on a change in pull request #153: [Baseline] Apply baseline
linting to iceberg-core
URL: https://github.com/apache/incubator-iceberg/pull/153#discussion_r276764195
##########
File path: core/src/main/java/org/apache/iceberg/util/ParallelIterable.java
##########
@@ -61,7 +61,7 @@ private ParallelIterator(Iterable<? extends Iterable<T>>
iterables,
this.tasks = Iterables.transform(iterables, iterable ->
(Runnable) () -> {
try (Closeable ignored = (iterable instanceof Closeable) ?
- (Closeable) iterable : () -> {}) {
+ (Closeable) iterable : () -> { }) {
Review comment:
I think the rules are different if it's a lambda method body. Not sure
though - I filed https://github.com/palantir/gradle-baseline/issues/615 asking
about it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]