summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Parker2012-02-17 05:50:47 (EST)
committer Steffen Pingel2012-02-17 05:50:47 (EST)
commit061804e55b70ab4220a4c8c7cd9fc28092233a51 (patch)
tree1c003993fa14e13ebde482163692f6d0da161ae7
parent277ac9eecddf6deb40241ceacc12df4bc85d31c1 (diff)
downloadorg.eclipse.mylyn.context-061804e55b70ab4220a4c8c7cd9fc28092233a51.zip
org.eclipse.mylyn.context-061804e55b70ab4220a4c8c7cd9fc28092233a51.tar.gz
org.eclipse.mylyn.context-061804e55b70ab4220a4c8c7cd9fc28092233a51.tar.bz2
NEW - bug 357299: [patch] NPE when removing an item from quick context
page in task editor. https://bugs.eclipse.org/bugs/show_bug.cgi?id=357299 Change-Id: I7ba258f0e4377c1c9f5ed1ec993af80d3e655c7e
-rw-r--r--org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/internal/context/ui/actions/AbstractInterestManipulationAction.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/internal/context/ui/actions/AbstractInterestManipulationAction.java b/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/internal/context/ui/actions/AbstractInterestManipulationAction.java
index 32a00aa..61189d7 100644
--- a/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/internal/context/ui/actions/AbstractInterestManipulationAction.java
+++ b/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/internal/context/ui/actions/AbstractInterestManipulationAction.java
@@ -97,7 +97,7 @@ public abstract class AbstractInterestManipulationAction implements IViewActionD
.getActivePart()
.getSite()
.getSelectionProvider()
- .setSelection(null);
+ .setSelection(StructuredSelection.EMPTY);
} catch (Exception e) {
// ignore
}