Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2008-10-07 04:48:22 +0000
committerspingel2008-10-07 04:48:22 +0000
commiteeb867194f403de19f861190adb6929b8840ec81 (patch)
tree50f5bda94353fc3b3d0b31999f5d5c656cc58656 /org.eclipse.mylyn.sandbox.ui/src/org/eclipse/mylyn/internal/sandbox/ui
parent224f7df53106b193671afd088f90f249b6e85b9a (diff)
downloadorg.eclipse.mylyn.incubator-eeb867194f403de19f861190adb6929b8840ec81.tar.gz
org.eclipse.mylyn.incubator-eeb867194f403de19f861190adb6929b8840ec81.tar.xz
org.eclipse.mylyn.incubator-eeb867194f403de19f861190adb6929b8840ec81.zip
RESOLVED - bug 237552: [api] remove deprecated classes
https://bugs.eclipse.org/bugs/show_bug.cgi?id=237552
Diffstat (limited to 'org.eclipse.mylyn.sandbox.ui/src/org/eclipse/mylyn/internal/sandbox/ui')
-rw-r--r--org.eclipse.mylyn.sandbox.ui/src/org/eclipse/mylyn/internal/sandbox/ui/IncomingTaskListContentProvider.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/org.eclipse.mylyn.sandbox.ui/src/org/eclipse/mylyn/internal/sandbox/ui/IncomingTaskListContentProvider.java b/org.eclipse.mylyn.sandbox.ui/src/org/eclipse/mylyn/internal/sandbox/ui/IncomingTaskListContentProvider.java
index 7249572f..3bd13b13 100644
--- a/org.eclipse.mylyn.sandbox.ui/src/org/eclipse/mylyn/internal/sandbox/ui/IncomingTaskListContentProvider.java
+++ b/org.eclipse.mylyn.sandbox.ui/src/org/eclipse/mylyn/internal/sandbox/ui/IncomingTaskListContentProvider.java
@@ -1,5 +1,5 @@
/*******************************************************************************
-* Copyright (c) 2004, 2008 Tasktop Technologies and others.
+ * Copyright (c) 2004, 2008 Tasktop Technologies and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -41,9 +41,7 @@ public class IncomingTaskListContentProvider extends TaskListContentProvider {
if (parent instanceof Person) {
return getChildren(parent);
} else {
- for (ITaskContainer container : applyFilter(TasksUiPlugin.getTaskListManager()
- .getTaskList()
- .getRootElements())) {
+ for (ITaskContainer container : applyFilter(TasksUiPlugin.getTaskList().getRootElements())) {
for (ITask task : getAllTasks(container.getChildren())) {
if (task.getOwner() != null && task.getSynchronizationState().isIncoming()) {
people.add(new Person(task.getOwner(), task.getConnectorKind(), task.getRepositoryUrl()));
@@ -75,9 +73,7 @@ public class IncomingTaskListContentProvider extends TaskListContentProvider {
public Object[] getChildren(Object parent) {
Set<ITask> children = new HashSet<ITask>();
if (parent instanceof Person) {
- for (ITaskContainer container : applyFilter(TasksUiPlugin.getTaskListManager()
- .getTaskList()
- .getRootElements())) {
+ for (ITaskContainer container : applyFilter(TasksUiPlugin.getTaskList().getRootElements())) {
for (ITask task : getAllTasks(container.getChildren())) {
if (task.getOwner() != null && task.getOwner().equals(((Person) parent).getHandleIdentifier())
&& task.getSynchronizationState().isIncoming()) {

Back to the top