Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Davis2015-12-11 16:54:25 -0500
committerSam Davis2015-12-11 16:54:25 -0500
commit96fb0287aec8eff624b6d0535965c4f514638620 (patch)
tree000627af9c4f9984282975a8b8efc04799ae582c
parent75123a088465809eedf6edf78417855ea9ff160c (diff)
downloadorg.eclipse.mylyn.tasks-96fb0287aec8eff624b6d0535965c4f514638620.tar.gz
org.eclipse.mylyn.tasks-96fb0287aec8eff624b6d0535965c4f514638620.tar.xz
org.eclipse.mylyn.tasks-96fb0287aec8eff624b6d0535965c4f514638620.zip
481800: fix bug in property tester
Change-Id: Ieb78fc021f0d46a82c06fe3694f352482e04fbea Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=481800
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/TaskPropertyTester.java2
1 files changed, 1 insertions, 1 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 7138d4fb4..ece44b7a8 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
@@ -78,7 +78,7 @@ public class TaskPropertyTester extends PropertyTester {
return equals(TasksUiInternal.hasLocalCompletionState(task), expectedValue);
} else if (PROPERTY_IS_ARTIFACT.equals(property)) {
String artifactFlag = task.getAttribute(ITasksCoreConstants.ATTRIBUTE_ARTIFACT);
- return Boolean.valueOf(artifactFlag);
+ return equals(Boolean.valueOf(artifactFlag), expectedValue);
}
}
return false;

Back to the top