Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-01-20 03:17:24 +0000
committerspingel2009-01-20 03:17:24 +0000
commit0e48ca97785ea222c7f1344752816b470ec145db (patch)
treecf7679b408b1601f25b88b53beb428b0bfed0a9d
parentbcd6c45f0c71987a414d8cda24992c4339075b15 (diff)
downloadorg.eclipse.mylyn.tasks-0e48ca97785ea222c7f1344752816b470ec145db.tar.gz
org.eclipse.mylyn.tasks-0e48ca97785ea222c7f1344752816b470ec145db.tar.xz
org.eclipse.mylyn.tasks-0e48ca97785ea222c7f1344752816b470ec145db.zip
NEW - bug 251578: TaskPropertyTester has context properties backwards
https://bugs.eclipse.org/bugs/show_bug.cgi?id=251578
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TaskPropertyTester.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TaskPropertyTester.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TaskPropertyTester.java
index a0d24963e..248295cbd 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TaskPropertyTester.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TaskPropertyTester.java
@@ -1,5 +1,5 @@
/*******************************************************************************
-* Copyright (c) 2004, 2008 Tasktop Technologies and others.
+ * Copyright (c) 2004, 2008 Tasktop Technologies and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -50,9 +50,9 @@ public class TaskPropertyTester extends PropertyTester {
if (PROPERTY_CONNECTOR_KIND.equals(property)) {
return task.getConnectorKind().equals(expectedValue);
} else if (PROPERTY_CAN_POST_ATTACHMENT.equals(property)) {
- return equals(AttachmentUtil.canDownloadAttachment(task), expectedValue);
- } else if (PROPERTY_CAN_GET_ATTACHEMNT.equals(property)) {
return equals(AttachmentUtil.canUploadAttachment(task), expectedValue);
+ } else if (PROPERTY_CAN_GET_ATTACHEMNT.equals(property)) {
+ return equals(AttachmentUtil.canDownloadAttachment(task), expectedValue);
} else if (PROPERTY_HAS_EDITS.equals(property)) {
return equals(ClearOutgoingAction.hasOutgoingChanges(task), expectedValue);
} else if (PROPERTY_HAS_LOCAL_CONTEXT.equals(property)) {

Back to the top