Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/4178#discussion_r24290145
  
    --- Diff: 
external/mqtt/src/main/scala/org/apache/spark/streaming/mqtt/MQTTInputDStream.scala
 ---
    @@ -17,28 +17,22 @@
     
     package org.apache.spark.streaming.mqtt
     
    +import java.io.IOException
    +import java.util.concurrent.Executors
    +import java.util.Properties
    +
    +import scala.collection.JavaConversions._
     import scala.collection.Map
     import scala.collection.mutable.HashMap
    -import scala.collection.JavaConversions._
     import scala.reflect.ClassTag
     
    -import java.util.Properties
    -import java.util.concurrent.Executors
    -import java.io.IOException
    -
    -import org.eclipse.paho.client.mqttv3.MqttCallback
    -import org.eclipse.paho.client.mqttv3.MqttClient
    -import org.eclipse.paho.client.mqttv3.MqttClientPersistence
    +import org.eclipse.paho.client.mqttv3._
     import org.eclipse.paho.client.mqttv3.persist.MemoryPersistence
    -import org.eclipse.paho.client.mqttv3.IMqttDeliveryToken
    -import org.eclipse.paho.client.mqttv3.MqttException
    -import org.eclipse.paho.client.mqttv3.MqttMessage
    -import org.eclipse.paho.client.mqttv3.MqttTopic
     
     import org.apache.spark.Logging
    +import org.apache.spark.streaming.dstream._
    --- End diff --
    
    Don't think this one should have moved; it was in the right place 
alphabetically. (Hm, there's another _ import though)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to