Skip to content
Snippets Groups Projects
Commit bfbe5e04 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fixed java types

parent efac6ec2
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,7 @@
package nl.lumc.sasc.biopet.utils
import java.io.File
import java.util
import argonaut.Argonaut._
import argonaut._
......@@ -270,9 +271,10 @@ object ConfigUtils extends Logging {
def any2set(any: Any): Set[Any] = {
if (any == null) return null
any match {
case s: Set[_] => s.toSet
case l: List[_] => l.toSet
case _ => Set(any)
case s: Set[_] => s.toSet
case l: List[_] => l.toSet
case l: util.ArrayList[_] => l.toSet
case _ => Set(any)
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment