Re: [DISCUSS] Scala Style for import

2014-03-13 Thread prabeesh k
>From SparkCodeStyleGuide https://cwiki.apache.org/confluence/display/SPARK/Spark+Code+Style+Guide#SparkCodeStyleGuide-Imports . can find that import style as *Always import packages using absolute paths (e.g. scala.util.Random) instead of relative ones (e.g. util.Random). In addition,

Re: [DISCUSS] Scala Style for import

2014-03-13 Thread prabeesh k
example for unblocked import import org.eclipse.paho.client.mqttv3.MqttClient import org.eclipse.paho.client.mqttv3.MqttClientPersistence import org.eclipse.paho.client.mqttv3.MqttException import org.eclipse.paho.client.mqttv3.MqttMessage import org.eclipse.paho.client.mqttv3.MqttTopic

Re: [DISCUSS] Scala Style for import

2014-03-13 Thread Prashant Sharma
What exactly do you mean by blocked and unblocked import ? Prashant Sharma On Thu, Mar 13, 2014 at 1:32 PM, prabeesh k wrote: > Hi All, > > We can import packages in Scala as blocked import and unblocked import. > > I think blocked import is better than other. This method helps to reduce > LO