package test

class Foo {
  def competitors() {
    List("foo", "bar") match {
      case Nil => Nil
      case competitors =>
        def bindCompetitors(): List[Nothing] =
          competitors.flatMap { competitor =>
            val l: Int = competitor.length
            l.foo.toString
          }
        Nil
    }
  }
}
package test

import scala.xml.NodeSeq

class Foo {
  def competitors() {
    List("foo", "bar") match {
      case Nil => Nil
      case competitors =>
        def bindCompetitors(): scala.xml.NodeSeq =
          competitors.flatMap { competitor =>
            val l: Int = competitor.length
            l.foo.toString
          }
        Nil
    }
  }
}
--- 
+++ 
@@ -1,13 +1,11 @@
 package test
-
-import scala.xml.NodeSeq
 
 class Foo {
   def competitors() {
     List("foo", "bar") match {
       case Nil => Nil
       case competitors =>
-        def bindCompetitors(): scala.xml.NodeSeq =
+        def bindCompetitors(): List[Nothing] =
           competitors.flatMap { competitor =>
             val l: Int = competitor.length
             l.foo.toString
Remove unnecessary xml dependency from test
