Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2006-11-15 22:13:26 -0500
committerrelves2006-11-15 22:13:26 -0500
commit6115d94a0759f2a48aadec92f23cb46502f1cbba (patch)
treec227b705b791f60c3bd8fcfdb5614459f02da9da /org.eclipse.mylyn.trac.core/src
parentf320530155961db3a7d3cc94a376a7190df9d0a3 (diff)
downloadorg.eclipse.mylyn.tasks-6115d94a0759f2a48aadec92f23cb46502f1cbba.tar.gz
org.eclipse.mylyn.tasks-6115d94a0759f2a48aadec92f23cb46502f1cbba.tar.xz
org.eclipse.mylyn.tasks-6115d94a0759f2a48aadec92f23cb46502f1cbba.zip
NEW - bug 164752: Add self to cc flag not saved
https://bugs.eclipse.org/bugs/show_bug.cgi?id=164752
Diffstat (limited to 'org.eclipse.mylyn.trac.core/src')
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRepositoryConnector.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRepositoryConnector.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRepositoryConnector.java
index 98c7726ce..f613c1a55 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRepositoryConnector.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/TracRepositoryConnector.java
@@ -314,8 +314,7 @@ public class TracRepositoryConnector extends AbstractRepositoryConnector {
}
sb.append(data.getAttributeValue(RepositoryTaskAttribute.NEW_CC));
}
- // TODO "1" should not be hard coded here
- if ("1".equals(data.getAttributeValue(RepositoryTaskAttribute.ADD_SELF_CC))) {
+ if (RepositoryTaskAttribute.TRUE.equals(data.getAttributeValue(RepositoryTaskAttribute.ADD_SELF_CC))) {
if (sb.length() > 0) {
sb.append(",");
}

Back to the top