Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/Model1Test.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/Model1Test.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/Model1Test.java
index 8e06c3ee60..f7db35bf4e 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/Model1Test.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/Model1Test.java
@@ -25,17 +25,17 @@ public class Model1Test extends AbstractTopologyTest
public void testSimple() throws Exception
{
- TreeNode root = createNode("root", null);
- createNode("node1", root);
- createNode("node2", root);
- createNode("node3", root);
- saveRoot(root, PATH1);
+ TreeNode node = createNode("root", null);
+ createNode("node1", node);
+ createNode("node2", node);
+ createNode("node3", node);
+ saveRoot(node, PATH1);
- TreeNode n0 = (TreeNode) loadRoot(PATH1);
- assertNotNull(n0);
- assertEquals("root", n0.getStringFeature());
+ TreeNode root = (TreeNode) loadRoot(PATH1);
+ assertNotNull(root);
+ assertEquals("root", root.getStringFeature());
- EList children = n0.getChildren();
+ EList children = root.getChildren();
assertEquals(3, children.size());
assertEquals("node1", ((TreeNode) children.get(0)).getStringFeature());
assertEquals("node2", ((TreeNode) children.get(1)).getStringFeature());

Back to the top