Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2011-02-18 08:08:14 +0000
committerspingel2011-02-18 08:08:14 +0000
commit71262811465135cc88e8e3a7f341cf83b77d971d (patch)
tree077baa8b22f6e72e9ac6149e0616cbfffc07e322 /org.eclipse.mylyn.tasks.core
parent4847b880aad044d91b3f4eecccbb181e77e87c9e (diff)
downloadorg.eclipse.mylyn.tasks-71262811465135cc88e8e3a7f341cf83b77d971d.tar.gz
org.eclipse.mylyn.tasks-71262811465135cc88e8e3a7f341cf83b77d971d.tar.xz
org.eclipse.mylyn.tasks-71262811465135cc88e8e3a7f341cf83b77d971d.zip
ASSIGNED - bug 334477: allow submitting of reviews from task editor
https://bugs.eclipse.org/bugs/show_bug.cgi?id=334477
Diffstat (limited to 'org.eclipse.mylyn.tasks.core')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/data/AbstractTaskSchema.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/data/AbstractTaskSchema.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/data/AbstractTaskSchema.java
index 527f40191..2627bd904 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/data/AbstractTaskSchema.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/data/AbstractTaskSchema.java
@@ -45,8 +45,8 @@ public abstract class AbstractTaskSchema {
this.type = source.type;
}
- public FieldFactory flags(EnumSet<Flag> flags) {
- this.flags = flags;
+ public FieldFactory flags(Flag... flags) {
+ this.flags = EnumSet.copyOf(Arrays.asList(flags));
return this;
}

Back to the top