Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Muskalla2013-10-21 09:59:22 -0400
committerBenjamin Muskalla2013-10-21 10:00:17 -0400
commit8eac454870be9ef5177501e66d79255b72113726 (patch)
treee595dd15aa6a424b4bd7200f79cd76273b9eaf97
parent4d906fafd74be8412ba4e43be87a655a72b0cb95 (diff)
downloadorg.eclipse.mylyn.tasks-8eac454870be9ef5177501e66d79255b72113726.tar.gz
org.eclipse.mylyn.tasks-8eac454870be9ef5177501e66d79255b72113726.tar.xz
org.eclipse.mylyn.tasks-8eac454870be9ef5177501e66d79255b72113726.zip
Add @NonNull annotations for IRepositoryListener
Change-Id: I1edb9d35f8a3f5514559a64b74299b6504dc85ee Signed-off-by: Benjamin Muskalla <benjamin.muskalla@tasktop.com>
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/IRepositoryListener.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/IRepositoryListener.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/IRepositoryListener.java
index ae348601a..35d964827 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/IRepositoryListener.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/IRepositoryListener.java
@@ -11,6 +11,8 @@
package org.eclipse.mylyn.tasks.core;
+import org.eclipse.jdt.annotation.NonNull;
+
/**
* Notified of change to the life-cycle of task repositories.
*
@@ -24,27 +26,27 @@ public interface IRepositoryListener {
*
* @since 3.0
*/
- public abstract void repositoryAdded(TaskRepository repository);
+ public abstract void repositoryAdded(@NonNull TaskRepository repository);
/**
* A task repository has been removed.
*
* @since 3.0
*/
- public abstract void repositoryRemoved(TaskRepository repository);
+ public abstract void repositoryRemoved(@NonNull TaskRepository repository);
/**
* The settings of a repository have been updated.
*
* @since 3.0
*/
- public abstract void repositorySettingsChanged(TaskRepository repository);
+ public abstract void repositorySettingsChanged(@NonNull TaskRepository repository);
/**
* TODO: Refactor into general delta notification
*
* @since 3.0
*/
- public abstract void repositoryUrlChanged(TaskRepository repository, String oldUrl);
+ public abstract void repositoryUrlChanged(@NonNull TaskRepository repository, @NonNull String oldUrl);
}

Back to the top