Skip to content

Commit

Permalink
fix compile error of streaming project
Browse files Browse the repository at this point in the history
explicit return type for implicit function
  • Loading branch information
James Z.M. Gao committed Mar 19, 2014
1 parent f9d8a83 commit fe88109
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ class JavaPairDStream[K, V](val dstream: DStream[(K, V)])(
}

object JavaPairDStream {
implicit def fromPairDStream[K: ClassTag, V: ClassTag](dstream: DStream[(K, V)]) = {
implicit def fromPairDStream[K: ClassTag, V: ClassTag](dstream: DStream[(K, V)]): JavaPairDStream[K, V] = {
new JavaPairDStream[K, V](dstream)
}

Expand Down

0 comments on commit fe88109

Please sign in to comment.