Skip to content

Commit 538b8d1

Browse files
HeartSaVioRdongjoon-hyun
authored andcommitted
[SPARK-30159][SQL][FOLLOWUP] Fix lint-java via removing unnecessary imports
### What changes were proposed in this pull request? This patch fixes the Java code style violations in SPARK-30159 (#26788) which are caught by lint-java (Github Action caught it and I can reproduce it locally). Looks like Jenkins build may have different policy on checking Java style check or less accurate. ### Why are the changes needed? Java linter starts complaining. ### Does this PR introduce any user-facing change? No. ### How was this patch tested? lint-java passed locally This closes #26819 Closes #26818 from HeartSaVioR/SPARK-30159-FOLLOWUP. Authored-by: Jungtaek Lim (HeartSaVioR) <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 729f43f commit 538b8d1

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

external/avro/src/test/java/org/apache/spark/sql/avro/JavaAvroFunctionsSuite.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
package org.apache.spark.sql.avro;
1919

2020
import org.junit.After;
21-
import org.junit.Assert;
2221
import org.junit.Before;
2322
import org.junit.Test;
2423

sql/core/src/test/java/test/org/apache/spark/sql/JavaSaveLoadSuite.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import java.util.Map;
2626

2727
import org.junit.After;
28-
import org.junit.Assert;
2928
import org.junit.Before;
3029
import org.junit.Test;
3130

sql/hive/src/test/java/org/apache/spark/sql/hive/JavaDataFrameSuite.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import java.util.List;
2323

2424
import org.junit.After;
25-
import org.junit.Assert;
2625
import org.junit.Before;
2726
import org.junit.Test;
2827

sql/hive/src/test/java/org/apache/spark/sql/hive/JavaMetastoreDataSourcesSuite.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import org.apache.hadoop.fs.FileSystem;
2828
import org.apache.hadoop.fs.Path;
2929
import org.junit.After;
30-
import org.junit.Assert;
3130
import org.junit.Before;
3231
import org.junit.Test;
3332

0 commit comments

Comments
 (0)