Skip to content

Commit

Permalink
[MINOR] Fix typos in JavaStreamingContext
Browse files Browse the repository at this point in the history
Author: Shixiong Zhu <[email protected]>

Closes #10424 from zsxwing/typo.

(cherry picked from commit 93da856)
Signed-off-by: Reynold Xin <[email protected]>
  • Loading branch information
zsxwing authored and rxin committed Dec 22, 2015
1 parent 5b19e7c commit 309ef35
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -695,9 +695,9 @@ object JavaStreamingContext {
*
* @param checkpointPath Checkpoint directory used in an earlier JavaStreamingContext program
* @param factory JavaStreamingContextFactory object to create a new JavaStreamingContext
* @deprecated As of 1.4.0, replaced by `getOrCreate` without JavaStreamingContextFactor.
* @deprecated As of 1.4.0, replaced by `getOrCreate` without JavaStreamingContextFactory.
*/
@deprecated("use getOrCreate without JavaStreamingContextFactor", "1.4.0")
@deprecated("use getOrCreate without JavaStreamingContextFactory", "1.4.0")
def getOrCreate(
checkpointPath: String,
factory: JavaStreamingContextFactory
Expand All @@ -718,7 +718,7 @@ object JavaStreamingContext {
* @param factory JavaStreamingContextFactory object to create a new JavaStreamingContext
* @param hadoopConf Hadoop configuration if necessary for reading from any HDFS compatible
* file system
* @deprecated As of 1.4.0, replaced by `getOrCreate` without JavaStreamingContextFactor.
* @deprecated As of 1.4.0, replaced by `getOrCreate` without JavaStreamingContextFactory.
*/
@deprecated("use getOrCreate without JavaStreamingContextFactory", "1.4.0")
def getOrCreate(
Expand All @@ -744,7 +744,7 @@ object JavaStreamingContext {
* file system
* @param createOnError Whether to create a new JavaStreamingContext if there is an
* error in reading checkpoint data.
* @deprecated As of 1.4.0, replaced by `getOrCreate` without JavaStreamingContextFactor.
* @deprecated As of 1.4.0, replaced by `getOrCreate` without JavaStreamingContextFactory.
*/
@deprecated("use getOrCreate without JavaStreamingContextFactory", "1.4.0")
def getOrCreate(
Expand Down

0 comments on commit 309ef35

Please sign in to comment.