summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Kriese2011-06-17 07:33:58 (EDT)
committerSteffen Kriese2011-06-17 07:33:58 (EDT)
commitdba46d7bd73020a002bb6ace46d0d4da34ea9f79 (patch)
tree7585857be34c36f06ce5e0c4a87b7130814b4c43
parent6f919a1464864b30f5cc0ce22fc412294da227e6 (diff)
downloadorg.eclipse.riena-dba46d7bd73020a002bb6ace46d0d4da34ea9f79.zip
org.eclipse.riena-dba46d7bd73020a002bb6ace46d0d4da34ea9f79.tar.gz
org.eclipse.riena-dba46d7bd73020a002bb6ace46d0d4da34ea9f79.tar.bz2
Fixed Bug #349504 NPE in SWTViewProvider
-rw-r--r--org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/presentation/SwtViewProvider.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/presentation/SwtViewProvider.java b/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/presentation/SwtViewProvider.java
index cd7b673..9a286a0 100644
--- a/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/presentation/SwtViewProvider.java
+++ b/org.eclipse.riena.navigation.ui.swt/src/org/eclipse/riena/navigation/ui/swt/presentation/SwtViewProvider.java
@@ -81,10 +81,9 @@ public class SwtViewProvider {
found = true;
}
}
- Assert.isLegal(found,
- "Cannot register node with id " + node.getNodeId().getTypeId() + ":" + node.getNodeId().getInstanceId() //$NON-NLS-1$ //$NON-NLS-2$
- + " because a different node with the same id is already registered."); //$NON-NLS-1$
+ Assert.isLegal(found, "Cannot register node " + node //$NON-NLS-1$
+ + " because a different node with the same id is already registered."); //$NON-NLS-1$
return swtViewId;
}