Skip to content

Commit 0cf6de0

Browse files
committed
Weird java file in test codes
1 parent 54d070d commit 0cf6de0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

core/src/test/java/test/org/apache/spark/JavaAPISuite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
import org.apache.spark.util.StatCounter;
8080

8181
// The test suite itself is Serializable so that anonymous Function implementations can be
82-
// serialized, as an alternative to converting these anonymous classes to static inner classes;
82+
// serialized, as an alternative to converting these anonymous classes to static inner classes; aaaaaaaaaa
8383
// see http://stackoverflow.com/questions/758570/.
8484
public class JavaAPISuite implements Serializable {
8585
private transient JavaSparkContext sc;

project/SparkBuild.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,8 @@ object Checkstyle {
747747
javaSource in (Compile, checkstyle) := baseDirectory.value / "src/main/java",
748748
javaSource in (Test, checkstyle) := baseDirectory.value / "src/test/java",
749749
checkstyleConfigLocation := CheckstyleConfigLocation.File("dev/checkstyle.xml"),
750-
checkstyleOutputFile := baseDirectory.value / "target/checkstyle-output.xml"
750+
checkstyleOutputFile := baseDirectory.value / "target/checkstyle-output.xml",
751+
checkstyleOutputFile in Test := baseDirectory.value / "target/checkstyle-output.xml"
751752
)
752753
}
753754

0 commit comments

Comments
 (0)