Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Muskalla2013-08-23 14:52:21 +0000
committerGerrit Code Review @ Eclipse.org2013-08-25 14:34:03 +0000
commitb6df73eaa3a745d5d8eafad6461b9445274ff059 (patch)
tree95db27a97aeee93226dde169479157147ea074bb
parenteca01884c8c6ecbaf2d3104d896cac846f0ef256 (diff)
downloadorg.eclipse.mylyn.tasks-b6df73eaa3a745d5d8eafad6461b9445274ff059.tar.gz
org.eclipse.mylyn.tasks-b6df73eaa3a745d5d8eafad6461b9445274ff059.tar.xz
org.eclipse.mylyn.tasks-b6df73eaa3a745d5d8eafad6461b9445274ff059.zip
Refine deleteTask to be @NonNull
If connectors return a value (instead of throwing an exception), they should return a non-null status. Change-Id: Ia47f1744062d7c5e046f77300af6c732a75950f7 Signed-off-by: Benjamin Muskalla <benjamin.muskalla@tasktop.com>
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractRepositoryConnector.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractRepositoryConnector.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractRepositoryConnector.java
index 51ba94d51..0acbe7520 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractRepositoryConnector.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractRepositoryConnector.java
@@ -475,7 +475,7 @@ public abstract class AbstractRepositoryConnector {
* if this is not implemented by the connector
* @since 3.3
*/
- @Nullable
+ @NonNull
public IStatus deleteTask(@NonNull TaskRepository repository, @NonNull ITask task, @NonNull IProgressMonitor monitor)
throws CoreException {
throw new UnsupportedOperationException();

Back to the top