I have problem with JavaConversions with 2.8 beta:
import scala.collection.JavaConversions._
class Utils(dbFile : File, sep: String) extends IUtils {
(...)
def getFeatures() : java.util.List[String] = csv.attributes.toList
}
And then exception:
[INFO] Utils.scala:20: error: type mismatch;
[INFO] found : List[String]
[INFO] required: java.util.List[String]
[INFO] def getFeatures() : java.util.List[String] = csv.attributes.toList
[INFO]