Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-01-10 04:09:52 -0500
committerEike Stepper2013-01-10 04:09:52 -0500
commit0e8bdccec98e1aa71d6838e0f5264a0bf9d5f6ea (patch)
tree3ce58f6b69dd49d3d48eb03aa6e8764544265644
parentb899f55d75a91e78c3da5c7038cbe0810335df6e (diff)
downloadcdo-0e8bdccec98e1aa71d6838e0f5264a0bf9d5f6ea.tar.gz
cdo-0e8bdccec98e1aa71d6838e0f5264a0bf9d5f6ea.tar.xz
cdo-0e8bdccec98e1aa71d6838e0f5264a0bf9d5f6ea.zip
[390283] [DB] Incorrect handling of operations on unordered ELists
https://bugs.eclipse.org/bugs/show_bug.cgi?id=390283
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_390283_Test.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_390283_Test.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_390283_Test.java
index 65bc5b6f89..914b66a619 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_390283_Test.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_390283_Test.java
@@ -66,16 +66,16 @@ public class Bugzilla_390283_Test extends AbstractCDOTest
UnorderedList object = getModel6Factory().createUnorderedList();
EList<UnorderedList> list = object.getContained();
+ UnorderedList elem0 = getModel6Factory().createUnorderedList();
UnorderedList elem1 = getModel6Factory().createUnorderedList();
UnorderedList elem2 = getModel6Factory().createUnorderedList();
- UnorderedList elem3 = getModel6Factory().createUnorderedList();
- list.addAll(Arrays.asList(elem1, elem2, elem3));
+ list.addAll(Arrays.asList(elem0, elem1, elem2));
resource.getContents().add(object);
transaction.commit();
// Remove
- list.remove(elem1); // Does not fail for "remove by index"!
+ list.remove(elem0); // Does not fail for "remove by index"!
transaction.commit();
}

Back to the top