Skip to content
GitLab
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
33a8edef
Commit
33a8edef
authored
Feb 03, 2015
by
Peter van 't Hof
Browse files
Remove todo
parent
71eb5183
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/utils/ConfigUtils.scala
View file @
33a8edef
...
...
@@ -336,7 +336,6 @@ object ConfigUtils extends Logging {
* @return
*/
implicit
def
configValue2file
(
value
:
ConfigValue
)
:
File
=
{
//TODO: throw IllegalStateException
if
(
value
!=
null
&&
value
.
value
!=
null
&&
value
.
value
!=
None
)
new
File
(
any2string
(
value
.
value
))
else
throw
new
IllegalStateException
(
"Value does not exist"
)
}
...
...
@@ -357,7 +356,6 @@ object ConfigUtils extends Logging {
* @return
*/
implicit
def
configValue2string
(
value
:
ConfigValue
)
:
String
=
{
//TODO: throw IllegalStateException
if
(
value
!=
null
&&
value
.
value
!=
null
&&
value
.
value
!=
None
)
any2string
(
value
.
value
)
else
throw
new
IllegalStateException
(
"Value does not exist"
)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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