1
0

[MINOR] Remove unused imports and some other checkstyle issues (#2800)

This commit is contained in:
wangxianghu
2021-04-11 21:42:34 +08:00
committed by GitHub
parent b554835053
commit f3777f44fe
15 changed files with 6 additions and 40 deletions

View File

@@ -77,7 +77,7 @@ public class HoodieTestHiveBase extends ITTestBase {
tableType, hiveTableName, commitType, hoodieTableName);
if (partitionType == PartitionType.MULTI_KEYS_PARTITIONED) {
cmd = cmd + " --use-multi-partition-keys";
} else if (partitionType == PartitionType.NON_PARTITIONED){
} else if (partitionType == PartitionType.NON_PARTITIONED) {
cmd = cmd + " --non-partitioned";
}
executeCommandStringInDocker(ADHOC_1_CONTAINER, cmd, true);

View File

@@ -166,7 +166,7 @@ public abstract class ITTestBase {
// try to capture stdout and stderr of the stuck process.
boolean completed =
dockerClient.execStartCmd(createCmdResponse.getId()).withDetach(false).withTty(false).exec(callback)
dockerClient.execStartCmd(createCmdResponse.getId()).withDetach(false).withTty(false).exec(callback)
.awaitCompletion(540, SECONDS);
if (!completed) {
callback.getStderr().flush();

View File

@@ -28,7 +28,6 @@ import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.List;
import java.util.Map;

View File

@@ -20,7 +20,6 @@ package org.apache.hudi.integ.testsuite.converter;
import static junit.framework.TestCase.assertTrue;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;