find and remove unused scala code

Latest version

[![unused-code-common Scala version support](https://index.scala-lang.org/xuwei-k/unused-code/unused-code-common/latest.svg](https://index.scala-lang.org/xuwei-k/unused-code/unused-code-common)

JVM badge

[![unused-code-common Scala version support](https://index.scala-lang.org/xuwei-k/unused-code/unused-code-common/latest-by-scala-version.svg?platform=jvm](https://index.scala-lang.org/xuwei-k/unused-code/unused-code-common)