Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2010-07-05 05:44:24 +0000
committerEike Stepper2010-07-05 05:44:24 +0000
commitef5e5fe2e1cee70b333d17c912d63ccdb3b9dbd8 (patch)
tree7aed1ae456a7f1dd020995391e46507943918a44 /plugins
parenta03f77c35ea2e74e02bd8da81c80fde8b228b482 (diff)
downloadcdo-ef5e5fe2e1cee70b333d17c912d63ccdb3b9dbd8.tar.gz
cdo-ef5e5fe2e1cee70b333d17c912d63ccdb3b9dbd8.tar.xz
cdo-ef5e5fe2e1cee70b333d17c912d63ccdb3b9dbd8.zip
[316444] Provide an option to prevent containment cycles
https://bugs.eclipse.org/bugs/show_bug.cgi?id=316444
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_316444_Test.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_316444_Test.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_316444_Test.java
index 55561c998e..b8a3641f65 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_316444_Test.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_316444_Test.java
@@ -461,14 +461,11 @@ public class Bugzilla_316444_Test extends AbstractCDOTest
catch (CommitException ex)
{
msg("Finished (Passed) Thread B " + session);
- // passed
return;
}
exceptions.add(new ThreadBShouldHaveThrownAnExceptionException("Thread B should have thrown an exception"));
-
session.close();
-
}
catch (Exception e)
{
@@ -562,6 +559,7 @@ public class Bugzilla_316444_Test extends AbstractCDOTest
{
return node;
}
+
for (NodeA child : node.getChildren())
{
NodeA elementFromGraph = getElementFromGraphNodeA(child, name);
@@ -570,6 +568,7 @@ public class Bugzilla_316444_Test extends AbstractCDOTest
return elementFromGraph;
}
}
+
return null;
}

Back to the top