diff options
author | Steffen Pingel | 2014-01-31 12:03:11 +0000 |
---|---|---|
committer | Steffen Pingel | 2014-01-31 12:03:11 +0000 |
commit | d4dd1ea01179740de90acb25e44755ff5e841fbb (patch) | |
tree | 8a410e2fbf98f2404ed4ccba20a30ff649271836 /org.eclipse.mylyn.tasks.core | |
parent | 695fed73ab8ba2b8c2fdde6de8834d2d2e7c0558 (diff) | |
download | org.eclipse.mylyn.tasks-d4dd1ea01179740de90acb25e44755ff5e841fbb.tar.gz org.eclipse.mylyn.tasks-d4dd1ea01179740de90acb25e44755ff5e841fbb.tar.xz org.eclipse.mylyn.tasks-d4dd1ea01179740de90acb25e44755ff5e841fbb.zip |
fix @NonNull annotation for attachment attributes
The attribute is required to identify the attachment and therefore may
not be null.
Change-Id: I42853860f0091a4eb26110c85f21a8e0db519182
Diffstat (limited to 'org.eclipse.mylyn.tasks.core')
-rw-r--r-- | org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/AbstractTaskAttachmentHandler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/AbstractTaskAttachmentHandler.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/AbstractTaskAttachmentHandler.java index 2287cd1ec..7ad283285 100644 --- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/AbstractTaskAttachmentHandler.java +++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/AbstractTaskAttachmentHandler.java @@ -22,7 +22,7 @@ import org.eclipse.mylyn.tasks.core.TaskRepository; /** * Subclass to provide facility for uploading and downloading files from task repositories. - * + * * @author Steffen Pingel * @since 3.0 */ @@ -33,7 +33,7 @@ public abstract class AbstractTaskAttachmentHandler { public abstract boolean canPostContent(@NonNull TaskRepository repository, @NonNull ITask task); public abstract InputStream getContent(@NonNull TaskRepository repository, @NonNull ITask task, - @Nullable TaskAttribute attachmentAttribute, @Nullable IProgressMonitor monitor) throws CoreException; + @NonNull TaskAttribute attachmentAttribute, @Nullable IProgressMonitor monitor) throws CoreException; public abstract void postContent(@NonNull TaskRepository repository, @NonNull ITask task, @NonNull AbstractTaskAttachmentSource source, @Nullable String comment, |