summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Le Guennec2014-03-13 11:38:33 (EDT)
committerVincent Lorenzo2014-03-13 11:38:33 (EDT)
commitf533d8cc06c3d9a6ba0f4040fa62c7a83162406f (patch)
tree1cdfd0dea6991b97d8b1e13fcf510c730d8d0b08
parent65a80560b55bc5a0faf9f932a15251bab82bf8ed (diff)
downloadorg.eclipse.papyrus-f533d8cc06c3d9a6ba0f4040fa62c7a83162406f.zip
org.eclipse.papyrus-f533d8cc06c3d9a6ba0f4040fa62c7a83162406f.tar.gz
org.eclipse.papyrus-f533d8cc06c3d9a6ba0f4040fa62c7a83162406f.tar.bz2
429769: [All diagrams] Format/Distribute command handler fails with IndexOutOfBoundsException when selection contains a mixed of affixedChildNodes/Links and other elements.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=429769
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/actions/DistributeLinkNodeAction.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/actions/DistributeLinkNodeAction.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/actions/DistributeLinkNodeAction.java
index 9ed6864..8577b62 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/actions/DistributeLinkNodeAction.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/actions/DistributeLinkNodeAction.java
@@ -139,8 +139,6 @@ public class DistributeLinkNodeAction {
return 2;
}
- } else {
- return 1;
}
return 3;
}