[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.
This commit is contained in:
wm624@hotmail.com 2016-09-21 09:33:29 +01:00 committed by Sean Owen
parent e48ebc4e40
commit 61876a4279
No known key found for this signature in database
GPG key ID: BEB3956D6717BDDC
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ import org.apache.spark.util.Utils
* :: DeveloperApi :: * :: DeveloperApi ::
* This class represent an unique identifier for a BlockManager. * 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 * 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 * of ID objects. Also, constructor parameters are private to ensure that parameters cannot be
* modified from outside this class. * modified from outside this class.

View file

@ -937,7 +937,7 @@ object SparkSession {
} }
/** /**
* Return true if Hive classes can be loaded, otherwise false. * @return true if Hive classes can be loaded, otherwise false.
*/ */
private[spark] def hiveClassesArePresent: Boolean = { private[spark] def hiveClassesArePresent: Boolean = {
try { try {