Skip to content

Commit

Permalink
93
Browse files Browse the repository at this point in the history
  • Loading branch information
snuyanzin committed Mar 19, 2024
1 parent e1d01ab commit d3448f6
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public ListKeyGroupedIterator(
this.serializer = serializer;
this.comparator = comparator;

this.done = input.isEmpty() ? true : false;
this.done = input.isEmpty();
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package org.apache.flink.runtime.checkpoint.channel;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand All @@ -16,6 +15,8 @@
* limitations under the License.
*/

package org.apache.flink.runtime.checkpoint.channel;

import org.apache.flink.annotation.Internal;
import org.apache.flink.runtime.io.network.api.writer.ResultPartitionWriter;
import org.apache.flink.runtime.io.network.partition.consumer.InputGate;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package org.apache.flink.runtime.rest.handler.job;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
Expand All @@ -17,6 +16,8 @@
* limitations under the License.
*/

package org.apache.flink.runtime.rest.handler.job;

import org.apache.flink.api.common.time.Time;
import org.apache.flink.runtime.executiongraph.AccessExecutionGraph;
import org.apache.flink.runtime.rest.handler.HandlerRequest;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package org.apache.flink.state.changelog;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
Expand All @@ -16,6 +15,8 @@
* limitations under the License.
*/

package org.apache.flink.state.changelog;

import org.apache.flink.annotation.Internal;
import org.apache.flink.state.changelog.restore.ChangelogApplierFactory;
import org.apache.flink.state.changelog.restore.StateChangeApplier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ public ResultFetcher callShowJobsOperation(
* @param handle the specified operation handle
* @param clusterAction the cluster action to run against the retrieved {@link ClusterClient}.
* @param <ClusterID> type of the cluster id
* @param <Result>> type of the result
* @param <Result> type of the result
* @throws SqlExecutionException if something goes wrong
*/
private <ClusterID, Result> Result runClusterAction(
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2169,13 +2169,13 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.1.2</version>
<version>3.3.1</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<!-- Note: match version with docs/flinkDev/ide_setup.md -->
<version>8.20</version>
<version>9.3</version>
</dependency>
</dependencies>
<executions>
Expand Down
7 changes: 0 additions & 7 deletions tools/maven/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -238,16 +238,9 @@ This file is based on the checkstyle file of Apache Beam.
<!-- Checks for Javadoc comments. -->
<!-- See http://checkstyle.sf.net/config_javadoc.html -->
<module name="JavadocMethod">
<property name="scope" value="protected"/>
<property name="severity" value="error"/>
<property name="allowMissingJavadoc" value="true"/>
<property name="allowMissingParamTags" value="true"/>
<property name="allowMissingReturnTag" value="true"/>
<property name="allowMissingThrowsTags" value="true"/>
<property name="allowThrowsTagsForSubclasses" value="true"/>
<property name="allowUndeclaredRTE" value="true"/>
<!-- This check sometimes failed for with "Unable to get class information for @throws tag" for custom exceptions -->
<property name="suppressLoadErrors" value="true"/>
</module>

<!-- Check that paragraph tags are used correctly in Javadoc. -->
Expand Down

0 comments on commit d3448f6

Please sign in to comment.