diff options
author | Andre Dietisheim | 2010-03-11 12:01:31 +0000 |
---|---|---|
committer | Andre Dietisheim | 2010-03-11 12:01:31 +0000 |
commit | b03c3446e55e2b6c48bb49a94d89167a2adcca63 (patch) | |
tree | 8546ab88b6d28b2358db84828f2628730bb7e1fe /plugins/org.eclipse.emf.cdo.ui.branch | |
parent | 3eb2a19a9505771784387c24f07a33d2ff042b82 (diff) | |
download | cdo-b03c3446e55e2b6c48bb49a94d89167a2adcca63.tar.gz cdo-b03c3446e55e2b6c48bb49a94d89167a2adcca63.tar.xz cdo-b03c3446e55e2b6c48bb49a94d89167a2adcca63.zip |
removed reference to latest node
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.ui.branch')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/layout/BranchTreeLayoutAlgorithm.java | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/layout/BranchTreeLayoutAlgorithm.java b/plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/layout/BranchTreeLayoutAlgorithm.java index 4e146392a6..62f2e0d61e 100644 --- a/plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/layout/BranchTreeLayoutAlgorithm.java +++ b/plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/layout/BranchTreeLayoutAlgorithm.java @@ -34,8 +34,6 @@ public class BranchTreeLayoutAlgorithm extends AbstractLayoutAlgorithm private RootNode rootNode; - private AbstractBranchPointNode latestNode; - private DisplayIndependentRectangle layoutBounds = null; /** @@ -80,19 +78,19 @@ public class BranchTreeLayoutAlgorithm extends AbstractLayoutAlgorithm if (entitiesToLayout.length > 0) { - initRootAndLatestNode(entitiesToLayout); + initRootNode(entitiesToLayout); } } /** - * Searches the given entities and stores the root node and the node with the latest time stamp + * Searches the given entities and stores the root node * * @param entitiesToLayout * the entities to layout * @see RootNode * @see AbstractBranchPointNode */ - private void initRootAndLatestNode(InternalNode[] entitiesToLayout) + private void initRootNode(InternalNode[] entitiesToLayout) { for (InternalNode internalNode : entitiesToLayout) { @@ -103,7 +101,6 @@ public class BranchTreeLayoutAlgorithm extends AbstractLayoutAlgorithm { rootNode = (RootNode)node.getLatter(rootNode); } - latestNode = node.getLatter(latestNode); } } } |