Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2014-05-22 16:47:39 -0400
committerSteffen Pingel2014-05-22 17:07:04 -0400
commitc6d1aba4e0ae2bc2c9d42d3c682434db7cbb840c (patch)
tree7fed8d3d0ad457fab720b67dd7da61b2bf7cf110
parentccf683f95e4397fb7ac0303fe47e7bc2dd10e620 (diff)
downloadorg.eclipse.mylyn.tasks-c6d1aba4e0ae2bc2c9d42d3c682434db7cbb840c.tar.gz
org.eclipse.mylyn.tasks-c6d1aba4e0ae2bc2c9d42d3c682434db7cbb840c.tar.xz
org.eclipse.mylyn.tasks-c6d1aba4e0ae2bc2c9d42d3c682434db7cbb840c.zip
add missing @NonNull annotations to AbstractRepositoryConnector
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/AbstractRepositoryConnector.java7
1 files changed, 4 insertions, 3 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 d89fc5e02..9a6ca49b3 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
@@ -326,7 +326,7 @@ public abstract class AbstractRepositoryConnector {
* @since 3.0
*/
@NonNull
- public ITaskMapping getTaskMapping(TaskData taskData) {
+ public ITaskMapping getTaskMapping(@NonNull TaskData taskData) {
return new TaskMapper(taskData);
}
@@ -646,7 +646,8 @@ public abstract class AbstractRepositoryConnector {
* thrown in case the operation fails
* @since 3.11
*/
- public RepositoryInfo validateRepository(TaskRepository repository, IProgressMonitor monitor) throws CoreException {
+ @NonNull
+ public RepositoryInfo validateRepository(@NonNull TaskRepository repository, @Nullable IProgressMonitor monitor) throws CoreException {
throw new UnsupportedOperationException();
}
@@ -659,7 +660,7 @@ public abstract class AbstractRepositoryConnector {
* the repository
* @since 3.11
*/
- public void applyDefaultCategory(TaskRepository repository) {
+ public void applyDefaultCategory(@NonNull TaskRepository repository) {
repository.setCategory(TaskRepository.CATEGORY_BUGS);
}
}

Back to the top