Skip to content

Commit

Permalink
[MINOR][STREAMING] Fix a minor naming issue in JavaDStreamLike
Browse files Browse the repository at this point in the history
Author: Liwei Lin <[email protected]>

Closes apache#11385 from proflin/Fix-minor-naming.
  • Loading branch information
lw-lin authored and rxin committed Feb 26, 2016
1 parent 9812a24 commit 318bf41
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ trait JavaDStreamLike[T, This <: JavaDStreamLike[T, This, R], R <: JavaRDDLike[T

def wrapRDD(in: RDD[T]): R

// This is just unfortunate we made a mistake in naming -- should be scalaLongToJavaLong.
// Don't fix this for now as it would break binary compatibility.
implicit def scalaIntToJavaLong(in: DStream[Long]): JavaDStream[jl.Long] = {
in.map(jl.Long.valueOf)
}
Expand Down

0 comments on commit 318bf41

Please sign in to comment.