Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Zarna2013-05-27 13:52:55 -0400
committerGerrit Code Review @ Eclipse.org2013-06-28 17:49:06 -0400
commit801d86f518e5d9d7b1d6297cbfab31b06f8a5da7 (patch)
tree7727a2890c1221078fcee9c407c7ab2e5e0e9354 /org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal
parent0f39bd71eb7b7e092ae2af0d3d23d997864589c6 (diff)
downloadorg.eclipse.mylyn.tasks-801d86f518e5d9d7b1d6297cbfab31b06f8a5da7.tar.gz
org.eclipse.mylyn.tasks-801d86f518e5d9d7b1d6297cbfab31b06f8a5da7.tar.xz
org.eclipse.mylyn.tasks-801d86f518e5d9d7b1d6297cbfab31b06f8a5da7.zip
remove redundant StatusHandler#log call when reading ext points
ExtensionPointReader#read already logs status if it's not ok, see #handleResult Change-Id: I8611eb62fa24610f7ab7636648e236ac5714ef67
Diffstat (limited to 'org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskJobFactory.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskJobFactory.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskJobFactory.java
index c838ef843..c99315d0c 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskJobFactory.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskJobFactory.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2004, 2010 Tasktop Technologies and others.
+ * Copyright (c) 2004, 2013 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
@@ -86,10 +86,7 @@ public class TaskJobFactory implements ITaskJobFactory {
ExtensionPointReader<TaskJobListener> reader = new ExtensionPointReader<TaskJobListener>(
ITasksCoreConstants.ID_PLUGIN,
"taskJobListeners", "listener", TaskJobListener.class, "connectorKind", connectorKind); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- IStatus status = reader.read();
- if (!status.isOK()) {
- StatusHandler.log(status);
- }
+ reader.read();
return reader.getItems();
}

Back to the top