Skip to content
Snippets Groups Projects
Commit 026bf0be authored by buczekp's avatar buczekp
Browse files

[LMS-1676] solved FIXME

SVN: 17353
parent e06e0a12
No related merge requests found
...@@ -85,8 +85,10 @@ public class SampleGenericBusinessRules ...@@ -85,8 +85,10 @@ public class SampleGenericBusinessRules
if (sample == null) if (sample == null)
return; return;
assertValidParentRelation(sample.getContainer(), sample, "contained in"); assertValidParentRelation(sample.getContainer(), sample, "contained in");
// FIXME 2010-08-05, Piotr Buczek: use parents - not generatedFrom for (SamplePE parent : sample.getParents())
assertValidParentRelation(sample.getGeneratedFrom(), sample, "child of"); {
assertValidParentRelation(parent, sample, "child of");
}
} }
static public void assertValidChildren(SamplePE sample) static public void assertValidChildren(SamplePE sample)
......
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