Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Winkler2013-01-10 06:07:22 -0500
committerStefan Winkler2013-01-10 06:07:22 -0500
commita0f424a79a3c2568b8b73ee1961cee81156ea20b (patch)
treefedc0112393b49fbe75b3095967b6bfe181a3742
parent19fa21d2d5fe0b1e6df227d0f43d2c34ae719809 (diff)
parent2727c101a6561781145cc8393d10ebab3fac8caa (diff)
downloadcdo-a0f424a79a3c2568b8b73ee1961cee81156ea20b.tar.gz
cdo-a0f424a79a3c2568b8b73ee1961cee81156ea20b.tar.xz
cdo-a0f424a79a3c2568b8b73ee1961cee81156ea20b.zip
Merge branch 'master' of git://git.eclipse.org/gitroot/cdo/cdo.git
-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..50414690c1 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 list.remove(0)!
transaction.commit();
}

Back to the top