diff options
author | fbecker | 2010-09-02 21:38:33 +0000 |
---|---|---|
committer | fbecker | 2010-09-02 21:38:33 +0000 |
commit | c33e3f29c94d4702c25109485ed091ebdf8aa007 (patch) | |
tree | 2b7cd9bc3452c01ad931b5b16dc0a128a725ea32 /org.eclipse.mylyn.bugzilla.ui | |
parent | c378122a262b1e3277e809dd500eac71804592fb (diff) | |
download | org.eclipse.mylyn.tasks-c33e3f29c94d4702c25109485ed091ebdf8aa007.tar.gz org.eclipse.mylyn.tasks-c33e3f29c94d4702c25109485ed091ebdf8aa007.tar.xz org.eclipse.mylyn.tasks-c33e3f29c94d4702c25109485ed091ebdf8aa007.zip |
ASSIGNED - bug 322081: [patch] refactor Strings for Flags
https://bugs.eclipse.org/bugs/show_bug.cgi?id=322081
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.ui')
2 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaTaskAttachmentPage.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaTaskAttachmentPage.java index 2b002821f..c1305221d 100644 --- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaTaskAttachmentPage.java +++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaTaskAttachmentPage.java @@ -140,7 +140,7 @@ public class BugzillaTaskAttachmentPage extends TaskAttachmentPage { mapper.setFlagId(bugzillaFlag.getName()); mapper.setNumber(0); final TaskAttribute attribute = getModel().getAttribute().createAttribute( - "task.common.kind.flag_type" + bugzillaFlag.getFlagId()); //$NON-NLS-1$ + BugzillaAttribute.KIND_FLAG_TYPE + bugzillaFlag.getFlagId()); mapper.applyTo(attribute); Label flagLiteral = new Label(flagComposite, SWT.NONE); diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/BugzillaAttachmentWizardPage.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/BugzillaAttachmentWizardPage.java index e5e96e58e..683e5135a 100644 --- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/BugzillaAttachmentWizardPage.java +++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/BugzillaAttachmentWizardPage.java @@ -261,7 +261,7 @@ public class BugzillaAttachmentWizardPage extends WizardPage { private void createAdvancedSection(final Composite container) { boolean flagFound = false; for (TaskAttribute attribute : attachmentAttribute.getAttributes().values()) { - if (!attribute.getId().startsWith("task.common.kind.flag")) { //$NON-NLS-1$ + if (!attribute.getId().startsWith(BugzillaAttribute.KIND_FLAG)) { continue; } flagFound = true; @@ -299,7 +299,7 @@ public class BugzillaAttachmentWizardPage extends WizardPage { int currentFlagColumn = 1; for (TaskAttribute attribute : attachmentAttribute.getAttributes().values()) { - if (!attribute.getId().startsWith("task.common.kind.flag")) { //$NON-NLS-1$ + if (!attribute.getId().startsWith(BugzillaAttribute.KIND_FLAG)) { continue; } String type = attribute.getMetaData().getType(); |