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

Change scala docs

parent 8fc4872e
No related branches found
No related tags found
No related merge requests found
......@@ -31,9 +31,7 @@ class Config(var map: Map[String, Any],
protected[core] var defaults: Map[String, Any] = Map()) extends Logging {
logger.debug("Init phase of config")
/**
* Default constructor
*/
/** Default constructor */
def this() = {
this(Map())
loadDefaultConfig()
......@@ -42,6 +40,7 @@ class Config(var map: Map[String, Any],
/**
* Loading a environmental variable as location of config files to merge into the config
* @param valueName Name of value
* @param default if true files are added to default instead of normal map
*/
def loadConfigEnv(valueName: String, default: Boolean) {
sys.env.get(valueName) match {
......@@ -58,9 +57,7 @@ class Config(var map: Map[String, Any],
}
}
/**
* Loading default value for biopet
*/
/** Loading default value for biopet */
def loadDefaultConfig() {
loadConfigEnv("BIOPET_CONFIG", true)
}
......
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