diff options
author | Saisai Shao <saisai.shao@intel.com> | 2015-02-27 13:01:42 -0800 |
---|---|---|
committer | Tathagata Das <tathagata.das1565@gmail.com> | 2015-02-27 13:01:42 -0800 |
commit | 5f7f3b938e1776168be866fc9ee87dc7494696cc (patch) | |
tree | d166a487ed35ff9ae0a3669ab27f8f92631dd440 /external/kafka/src | |
parent | d17cb2ba33b363dd346ac5a5681e1757decd0f4d (diff) | |
download | spark-5f7f3b938e1776168be866fc9ee87dc7494696cc.tar.gz spark-5f7f3b938e1776168be866fc9ee87dc7494696cc.tar.bz2 spark-5f7f3b938e1776168be866fc9ee87dc7494696cc.zip |
[Streaming][Minor] Remove useless type signature of Java Kafka direct stream API
cc tdas .
Author: Saisai Shao <saisai.shao@intel.com>
Closes #4817 from jerryshao/signature-minor-fix and squashes the following commits:
eebfaac [Saisai Shao] Remove useless type parameter
Diffstat (limited to 'external/kafka/src')
-rw-r--r-- | external/kafka/src/main/scala/org/apache/spark/streaming/kafka/KafkaUtils.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/kafka/src/main/scala/org/apache/spark/streaming/kafka/KafkaUtils.scala b/external/kafka/src/main/scala/org/apache/spark/streaming/kafka/KafkaUtils.scala index 62a6595189..5a9bd4214c 100644 --- a/external/kafka/src/main/scala/org/apache/spark/streaming/kafka/KafkaUtils.scala +++ b/external/kafka/src/main/scala/org/apache/spark/streaming/kafka/KafkaUtils.scala @@ -512,7 +512,7 @@ object KafkaUtils { * @param topics Names of the topics to consume */ @Experimental - def createDirectStream[K, V, KD <: Decoder[K], VD <: Decoder[V], R]( + def createDirectStream[K, V, KD <: Decoder[K], VD <: Decoder[V]]( jssc: JavaStreamingContext, keyClass: Class[K], valueClass: Class[V], |