Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
0bbd5588
Commit
0bbd5588
authored
Nov 05, 2014
by
Peter van 't Hof
Browse files
fix typo
parent
b904f777
Changes
1
Hide whitespace changes
Inline
Side-by-side
biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/config/Configurable.scala
View file @
0bbd5588
...
...
@@ -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
:
_
*
)
else
scala
.
collection
.
mutable
.
Map
()
val
config
=
new
ConfigFuntions
val
config
=
new
ConfigFun
c
tions
protected
class
ConfigFuntions
{
protected
class
ConfigFun
c
tions
{
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
p
=
if
(
submodule
!=
null
)
configName
::
configPath
else
configPath
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment