Skip to content

Commit 309ef35

Browse files
zsxwingrxin
authored andcommitted
[MINOR] Fix typos in JavaStreamingContext
Author: Shixiong Zhu <shixiong@databricks.com> Closes apache#10424 from zsxwing/typo. (cherry picked from commit 93da856) Signed-off-by: Reynold Xin <rxin@databricks.com>
1 parent 5b19e7c commit 309ef35

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

streaming/src/main/scala/org/apache/spark/streaming/api/java/JavaStreamingContext.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -695,9 +695,9 @@ object JavaStreamingContext {
695695
*
696696
* @param checkpointPath Checkpoint directory used in an earlier JavaStreamingContext program
697697
* @param factory JavaStreamingContextFactory object to create a new JavaStreamingContext
698-
* @deprecated As of 1.4.0, replaced by `getOrCreate` without JavaStreamingContextFactor.
698+
* @deprecated As of 1.4.0, replaced by `getOrCreate` without JavaStreamingContextFactory.
699699
*/
700-
@deprecated("use getOrCreate without JavaStreamingContextFactor", "1.4.0")
700+
@deprecated("use getOrCreate without JavaStreamingContextFactory", "1.4.0")
701701
def getOrCreate(
702702
checkpointPath: String,
703703
factory: JavaStreamingContextFactory
@@ -718,7 +718,7 @@ object JavaStreamingContext {
718718
* @param factory JavaStreamingContextFactory object to create a new JavaStreamingContext
719719
* @param hadoopConf Hadoop configuration if necessary for reading from any HDFS compatible
720720
* file system
721-
* @deprecated As of 1.4.0, replaced by `getOrCreate` without JavaStreamingContextFactor.
721+
* @deprecated As of 1.4.0, replaced by `getOrCreate` without JavaStreamingContextFactory.
722722
*/
723723
@deprecated("use getOrCreate without JavaStreamingContextFactory", "1.4.0")
724724
def getOrCreate(
@@ -744,7 +744,7 @@ object JavaStreamingContext {
744744
* file system
745745
* @param createOnError Whether to create a new JavaStreamingContext if there is an
746746
* error in reading checkpoint data.
747-
* @deprecated As of 1.4.0, replaced by `getOrCreate` without JavaStreamingContextFactor.
747+
* @deprecated As of 1.4.0, replaced by `getOrCreate` without JavaStreamingContextFactory.
748748
*/
749749
@deprecated("use getOrCreate without JavaStreamingContextFactory", "1.4.0")
750750
def getOrCreate(

0 commit comments

Comments
 (0)