migrate to Scala version 2.10.2
Migration to Scala 2.10: resolve language feature warnings