I have this Scala method with an error below. Cannot convert to Scala list.
def findAllQuestion():List[Question]={ questionDao.getAllQuestions() }
type mismatch; found: java.util.List[com.aitrich.learnware.model.domain.entity.Question] required: scala.collection.immutable.List[com.aitrich.learnware.model.domain.entity.Question]
list scala scala-java-interop
boycod3 Apr 23 '13 at 6:04 on 2013-04-23 06:04
source share