Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.trac.core')
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttachmentHandler.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttachmentHandler.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttachmentHandler.java
index 895d2c5db..3584a92ac 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttachmentHandler.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracAttachmentHandler.java
@@ -106,5 +106,13 @@ public class TracAttachmentHandler implements IAttachmentHandler {
public boolean canUploadAttachment(TaskRepository repository, AbstractRepositoryTask task) {
return connector.hasAttachmentSupport(repository, task);
}
+
+ public boolean canDeprecate(TaskRepository repository, RepositoryAttachment attachment) {
+ return false;
+ }
+
+ public void updateAttachment(TaskRepository repository, RepositoryAttachment attachment) throws CoreException {
+ // ignore
+ }
}

Back to the top