aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorwm624@hotmail.com <wm624@hotmail.com>2016-09-21 09:33:29 +0100
committerSean Owen <sowen@cloudera.com>2016-09-21 09:33:29 +0100
commit61876a42793bde0da90f54b44255148ed54b7f61 (patch)
tree269061e7d33b23a7c8ed3e92643915dbbe09eaec /core/src
parente48ebc4e403ca3a0e580b47aadffe9fbfcf3c655 (diff)
downloadspark-61876a42793bde0da90f54b44255148ed54b7f61.tar.gz
spark-61876a42793bde0da90f54b44255148ed54b7f61.tar.bz2
spark-61876a42793bde0da90f54b44255148ed54b7f61.zip
[CORE][DOC] Fix errors in comments
## What changes were proposed in this pull request? While reading source code of CORE and SQL core, I found some minor errors in comments such as extra space, missing blank line and grammar error. I fixed these minor errors and might find more during my source code study. ## How was this patch tested? Manually build Author: wm624@hotmail.com <wm624@hotmail.com> Closes #15151 from wangmiao1981/mem.
Diffstat (limited to 'core/src')
-rw-r--r--core/src/main/scala/org/apache/spark/storage/BlockManagerId.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/scala/org/apache/spark/storage/BlockManagerId.scala b/core/src/main/scala/org/apache/spark/storage/BlockManagerId.scala
index cae7c9ed95..f255f5be63 100644
--- a/core/src/main/scala/org/apache/spark/storage/BlockManagerId.scala
+++ b/core/src/main/scala/org/apache/spark/storage/BlockManagerId.scala
@@ -28,7 +28,7 @@ import org.apache.spark.util.Utils
* :: DeveloperApi ::
* This class represent an unique identifier for a BlockManager.
*
- * The first 2 constructors of this class is made private to ensure that BlockManagerId objects
+ * The first 2 constructors of this class are made private to ensure that BlockManagerId objects
* can be created only using the apply method in the companion object. This allows de-duplication
* of ID objects. Also, constructor parameters are private to ensure that parameters cannot be
* modified from outside this class.