diff options
author | Dongjoon Hyun <dongjoon@apache.org> | 2016-03-03 22:42:12 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-03-03 22:42:12 +0000 |
commit | 941b270b706d3b4aea73dbf102cfb6eee0beff63 (patch) | |
tree | 0633f68f062bd49152267f97b79f7598b53c5e0b /core/src | |
parent | 52035d103661721a8f87c2f6788c6411f645a99d (diff) | |
download | spark-941b270b706d3b4aea73dbf102cfb6eee0beff63.tar.gz spark-941b270b706d3b4aea73dbf102cfb6eee0beff63.tar.bz2 spark-941b270b706d3b4aea73dbf102cfb6eee0beff63.zip |
[MINOR] Fix typos in comments and testcase name of code
## What changes were proposed in this pull request?
This PR fixes typos in comments and testcase name of code.
## How was this patch tested?
manual.
Author: Dongjoon Hyun <dongjoon@apache.org>
Closes #11481 from dongjoon-hyun/minor_fix_typos_in_code.
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/scala/org/apache/spark/ui/ConsoleProgressBar.scala | 2 | ||||
-rw-r--r-- | core/src/test/scala/org/apache/sparktest/ImplicitSuite.scala | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/src/main/scala/org/apache/spark/ui/ConsoleProgressBar.scala b/core/src/main/scala/org/apache/spark/ui/ConsoleProgressBar.scala index f157a451ef..fa078ee25a 100644 --- a/core/src/main/scala/org/apache/spark/ui/ConsoleProgressBar.scala +++ b/core/src/main/scala/org/apache/spark/ui/ConsoleProgressBar.scala @@ -28,7 +28,7 @@ import org.apache.spark._ * of them will be combined together, showed in one line. */ private[spark] class ConsoleProgressBar(sc: SparkContext) extends Logging { - // Carrige return + // Carriage return val CR = '\r' // Update period of progress bar, in milliseconds val UPDATE_PERIOD = 200L diff --git a/core/src/test/scala/org/apache/sparktest/ImplicitSuite.scala b/core/src/test/scala/org/apache/sparktest/ImplicitSuite.scala index daa795a043..2fb09ead4b 100644 --- a/core/src/test/scala/org/apache/sparktest/ImplicitSuite.scala +++ b/core/src/test/scala/org/apache/sparktest/ImplicitSuite.scala @@ -26,11 +26,11 @@ package org.apache.sparktest */ class ImplicitSuite { - // We only want to test if `implict` works well with the compiler, so we don't need a real + // We only want to test if `implicit` works well with the compiler, so we don't need a real // SparkContext. def mockSparkContext[T]: org.apache.spark.SparkContext = null - // We only want to test if `implict` works well with the compiler, so we don't need a real RDD. + // We only want to test if `implicit` works well with the compiler, so we don't need a real RDD. def mockRDD[T]: org.apache.spark.rdd.RDD[T] = null def testRddToPairRDDFunctions(): Unit = { |