Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2011-03-10 02:57:44 +0000
committerspingel2011-03-10 02:57:44 +0000
commita8cf6870e0bb074b4ccb67f6150fd5add08591be (patch)
treef8370e14415dcdf71092509621e305c03d18c2aa
parentda074339ee1544aaf6d69c72914acdb569f05f71 (diff)
downloadorg.eclipse.mylyn.tasks-a8cf6870e0bb074b4ccb67f6150fd5add08591be.tar.gz
org.eclipse.mylyn.tasks-a8cf6870e0bb074b4ccb67f6150fd5add08591be.tar.xz
org.eclipse.mylyn.tasks-a8cf6870e0bb074b4ccb67f6150fd5add08591be.zip
RESOLVED - bug 286963: [api] add support for ignoring incoming notification on specified fields
https://bugs.eclipse.org/bugs/show_bug.cgi?id=286963
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/AbstractTaskListFilter.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/AbstractTaskListFilter.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/AbstractTaskListFilter.java
index c395ce9c2..2ab1e13e5 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/AbstractTaskListFilter.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/AbstractTaskListFilter.java
@@ -58,12 +58,12 @@ public abstract class AbstractTaskListFilter {
}
for (ITask task : children) {
+ // FIXME this does not take the patch of container into account and hence may show an incoming although there is none
if (task != null && PresentationFilter.getInstance().select(container, task)) {
if (TasksUiInternal.shouldShowIncoming(task)) {
return true;
- } else if (!PresentationFilter.getInstance().isFilterNonMatching()
- && (TasksUiPlugin.getDefault().groupSubtasks(container) && task instanceof ITaskContainer && hasDescendantIncoming(
- (ITaskContainer) task, depth - 1))) {
+ } else if (TasksUiPlugin.getDefault().groupSubtasks(container) && task instanceof ITaskContainer
+ && hasDescendantIncoming((ITaskContainer) task, depth - 1)) {
return true;
}
}

Back to the top