Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.trac.core/src')
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracOfflineTaskHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracOfflineTaskHandler.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracOfflineTaskHandler.java
index 28de6e2c0..803ee14a8 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracOfflineTaskHandler.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracOfflineTaskHandler.java
@@ -237,10 +237,10 @@ public class TracOfflineTaskHandler implements IOfflineTaskHandler {
RepositoryTaskAttribute attr = factory.createAttribute(attribute.getTracKey());
if (values != null && values.length > 0) {
if (allowEmtpy) {
- attr.addOptionValue("", "");
+ attr.addOption("", "");
}
for (int i = 0; i < values.length; i++) {
- attr.addOptionValue(values[i].toString(), values[i].toString());
+ attr.addOption(values[i].toString(), values[i].toString());
}
} else {
// attr.setHidden(true);

Back to the top