Skip to content

Commit

Permalink
Make InputDStream.name private[streaming]
Browse files Browse the repository at this point in the history
  • Loading branch information
zsxwing committed May 5, 2015
1 parent cc392c5 commit ff0bff8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ abstract class InputDStream[T: ClassTag] (@transient ssc_ : StreamingContext)
/**
* The name of this InputDStream. By default, it's the class name with its id.
*/
def name: String = s"${getClass.getSimpleName}-$id"
private[streaming] def name: String = s"${getClass.getSimpleName}-$id"

/**
* Checks whether the 'time' is valid wrt slideDuration for generating RDD.
Expand Down

0 comments on commit ff0bff8

Please sign in to comment.