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

Change globalConfig to def

parent 45e7833e
No related branches found
No related tags found
No related merge requests found
...@@ -17,11 +17,12 @@ package nl.lumc.sasc.biopet.core.config ...@@ -17,11 +17,12 @@ package nl.lumc.sasc.biopet.core.config
import nl.lumc.sasc.biopet.core.Logging import nl.lumc.sasc.biopet.core.Logging
import nl.lumc.sasc.biopet.utils.ConfigUtils.ImplicitConversions import nl.lumc.sasc.biopet.utils.ConfigUtils.ImplicitConversions
import scala.collection.JavaConversions._
trait Configurable extends ImplicitConversions { trait Configurable extends ImplicitConversions {
/** Should be object of parant object */ /** Should be object of parant object */
val root: Configurable val root: Configurable
val globalConfig: Config = if (root != null) root.globalConfig else Config.global def globalConfig: Config = if (root != null) root.globalConfig else Config.global
/** subfix to the path */ /** subfix to the path */
def subPath: List[String] = Nil def subPath: List[String] = Nil
......
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