Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2004-05-03 16:20:41 -0400
committerMichael Valenta2004-05-03 16:20:41 -0400
commitb05262166b5c31cff3768f1633804748804bf930 (patch)
treed0857c2a6f62dd7130a535686df605d6942e5763
parent8fb4dc48eef2634713b4f54b1a4f8a254b828006 (diff)
downloadeclipse.platform.team-b05262166b5c31cff3768f1633804748804bf930.tar.gz
eclipse.platform.team-b05262166b5c31cff3768f1633804748804bf930.tar.xz
eclipse.platform.team-b05262166b5c31cff3768f1633804748804bf930.zip
Bug 60804: NPE in RefactorActionGroup.fillContextMenu
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/RefactorActionGroup.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/RefactorActionGroup.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/RefactorActionGroup.java
index 37b0ff529..19d49452f 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/RefactorActionGroup.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/RefactorActionGroup.java
@@ -53,7 +53,7 @@ public class RefactorActionGroup extends ActionGroup {
public void fillContextMenu(IMenuManager parentMenu, String groupId) {
IStructuredSelection selection = getSelection();
-
+ if (selection == null) return;
boolean anyResourceSelected =
!selection.isEmpty()
&& allResourcesAreOfType(

Back to the top