aboutsummaryrefslogtreecommitdiff
path: root/examples/src
diff options
context:
space:
mode:
authorDongjoon Hyun <dongjoon@apache.org>2016-04-06 16:02:55 -0700
committerAndrew Or <andrew@databricks.com>2016-04-06 16:02:55 -0700
commitd717ae1fd74d125a9df21350a70e7c2b2d2b4786 (patch)
tree7fea2e27627c52cd6ffa04421df66068e5b28881 /examples/src
parent457e58befe8cb7c346e54b344a45fa357b68cfc0 (diff)
downloadspark-d717ae1fd74d125a9df21350a70e7c2b2d2b4786.tar.gz
spark-d717ae1fd74d125a9df21350a70e7c2b2d2b4786.tar.bz2
spark-d717ae1fd74d125a9df21350a70e7c2b2d2b4786.zip
[SPARK-14444][BUILD] Add a new scalastyle `NoScalaDoc` to prevent ScalaDoc-style multiline comments
## What changes were proposed in this pull request? According to the [Spark Code Style Guide](https://cwiki.apache.org/confluence/display/SPARK/Spark+Code+Style+Guide#SparkCodeStyleGuide-Indentation), this PR adds a new scalastyle rule to prevent the followings. ``` /** In Spark, we don't use the ScalaDoc style so this * is not correct. */ ``` ## How was this patch tested? Pass the Jenkins tests (including `lint-scala`). Author: Dongjoon Hyun <dongjoon@apache.org> Closes #12221 from dongjoon-hyun/SPARK-14444.
Diffstat (limited to 'examples/src')
-rw-r--r--examples/src/main/scala/org/apache/spark/examples/DriverSubmissionTest.scala6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/src/main/scala/org/apache/spark/examples/DriverSubmissionTest.scala b/examples/src/main/scala/org/apache/spark/examples/DriverSubmissionTest.scala
index a2d59a1c95..d12ef642bd 100644
--- a/examples/src/main/scala/org/apache/spark/examples/DriverSubmissionTest.scala
+++ b/examples/src/main/scala/org/apache/spark/examples/DriverSubmissionTest.scala
@@ -22,8 +22,10 @@ import scala.collection.JavaConverters._
import org.apache.spark.util.Utils
-/** Prints out environmental information, sleeps, and then exits. Made to
- * test driver submission in the standalone scheduler. */
+/**
+ * Prints out environmental information, sleeps, and then exits. Made to
+ * test driver submission in the standalone scheduler.
+ */
object DriverSubmissionTest {
def main(args: Array[String]) {
if (args.length < 1) {