Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
biopet.biopet
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirrors
biopet.biopet
Commits
fbf67f2c
Commit
fbf67f2c
authored
10 years ago
by
Peter van 't Hof
Browse files
Options
Downloads
Patches
Plain Diff
Add notes
parent
c3de5e12
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/biopet-framework/src/test/scala/nl/lumc/sasc/biopet/core/config/ConfigurableTest.scala
+2
-0
2 additions, 0 deletions
...la/nl/lumc/sasc/biopet/core/config/ConfigurableTest.scala
with
2 additions
and
0 deletions
public/biopet-framework/src/test/scala/nl/lumc/sasc/biopet/core/config/ConfigurableTest.scala
+
2
−
0
View file @
fbf67f2c
...
...
@@ -54,11 +54,13 @@ class ClassA(val root: Configurable) extends Cfg
class
ClassB
(
val
root
:
Configurable
)
extends
Cfg
{
lazy
val
classA
=
new
ClassA
(
this
)
// Why this needs to be lazy?
}
class
ClassC
(
val
root
:
Configurable
)
extends
Cfg
{
def
this
()
=
this
(
null
)
lazy
val
classB
=
new
ClassB
(
this
)
// Why this needs to be lazy?
}
object
ConfigurableTest
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment