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

fix typo

parent b904f777
...@@ -13,9 +13,9 @@ trait Configurable extends Logging { ...@@ -13,9 +13,9 @@ trait Configurable extends Logging {
var defaults: scala.collection.mutable.Map[String, Any] = if (root != null) scala.collection.mutable.Map(root.defaults.toArray: _*) var defaults: scala.collection.mutable.Map[String, Any] = if (root != null) scala.collection.mutable.Map(root.defaults.toArray: _*)
else scala.collection.mutable.Map() else scala.collection.mutable.Map()
val config = new ConfigFuntions val config = new ConfigFunctions
protected class ConfigFuntions { protected class ConfigFunctions {
def apply(key: String, default: Any = null, submodule: String = null, required: Boolean = false, freeVar: Boolean = true): ConfigValue = { def apply(key: String, default: Any = null, submodule: String = null, required: Boolean = false, freeVar: Boolean = true): ConfigValue = {
val m = if (submodule != null) submodule else configName val m = if (submodule != null) submodule else configName
val p = if (submodule != null) configName :: configPath else configPath val p = if (submodule != null) configName :: configPath else configPath
......
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