summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Drossel2008-07-10 03:53:28 (EDT)
committerCarsten Drossel2008-07-10 03:53:28 (EDT)
commit7c518cd3a1bcbe3bbc3a28b13aa361cea21fdb69 (patch)
treefb60abc808ddf15f7e8ae89b0688b4dc284c6fc6
parentba7ccf433cf1ebb23c64c4f68c9d97f6dadc94f4 (diff)
downloadorg.eclipse.riena-7c518cd3a1bcbe3bbc3a28b13aa361cea21fdb69.zip
org.eclipse.riena-7c518cd3a1bcbe3bbc3a28b13aa361cea21fdb69.tar.gz
org.eclipse.riena-7c518cd3a1bcbe3bbc3a28b13aa361cea21fdb69.tar.bz2
refactored node search a bit
-rw-r--r--org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/model/NavigationNodePresentationFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/model/NavigationNodePresentationFactory.java b/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/model/NavigationNodePresentationFactory.java
index adc0258..9d2eddb 100644
--- a/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/model/NavigationNodePresentationFactory.java
+++ b/org.eclipse.riena.navigation/src/org/eclipse/riena/navigation/model/NavigationNodePresentationFactory.java
@@ -90,7 +90,7 @@ public class NavigationNodePresentationFactory implements INavigationNodePresent
for (INavigationNode<?> child : node.getChildren()) {
INavigationNode<?> foundNode = findNode(child, targetId);
if (foundNode != null) {
- return findNode(child, targetId);
+ return foundNode;
}
}
return null;