Skip to content
Snippets Groups Projects
Commit 93da8565 authored by Shixiong Zhu's avatar Shixiong Zhu Committed by Reynold Xin
Browse files

[MINOR] Fix typos in JavaStreamingContext

Author: Shixiong Zhu <shixiong@databricks.com>

Closes #10424 from zsxwing/typo.
parent 0a38637d
No related branches found
No related tags found
No related merge requests found
...@@ -695,9 +695,9 @@ object JavaStreamingContext { ...@@ -695,9 +695,9 @@ object JavaStreamingContext {
* *
* @param checkpointPath Checkpoint directory used in an earlier JavaStreamingContext program * @param checkpointPath Checkpoint directory used in an earlier JavaStreamingContext program
* @param factory JavaStreamingContextFactory object to create a new JavaStreamingContext * @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( def getOrCreate(
checkpointPath: String, checkpointPath: String,
factory: JavaStreamingContextFactory factory: JavaStreamingContextFactory
...@@ -718,7 +718,7 @@ object JavaStreamingContext { ...@@ -718,7 +718,7 @@ object JavaStreamingContext {
* @param factory JavaStreamingContextFactory object to create a new JavaStreamingContext * @param factory JavaStreamingContextFactory object to create a new JavaStreamingContext
* @param hadoopConf Hadoop configuration if necessary for reading from any HDFS compatible * @param hadoopConf Hadoop configuration if necessary for reading from any HDFS compatible
* file system * 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") @deprecated("use getOrCreate without JavaStreamingContextFactory", "1.4.0")
def getOrCreate( def getOrCreate(
...@@ -744,7 +744,7 @@ object JavaStreamingContext { ...@@ -744,7 +744,7 @@ object JavaStreamingContext {
* file system * file system
* @param createOnError Whether to create a new JavaStreamingContext if there is an * @param createOnError Whether to create a new JavaStreamingContext if there is an
* error in reading checkpoint data. * 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") @deprecated("use getOrCreate without JavaStreamingContextFactory", "1.4.0")
def getOrCreate( def getOrCreate(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment