Commit ca68c155 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Change globalConfig to def

parent 45e7833e
......@@ -17,11 +17,12 @@ package nl.lumc.sasc.biopet.core.config
import nl.lumc.sasc.biopet.core.Logging
import nl.lumc.sasc.biopet.utils.ConfigUtils.ImplicitConversions
import scala.collection.JavaConversions._
trait Configurable extends ImplicitConversions {
/** Should be object of parant object */
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 */
def subPath: List[String] = Nil
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment