Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfbecker2010-08-30 20:07:03 +0000
committerfbecker2010-08-30 20:07:03 +0000
commitf410c5d758034009415dbd8475df3db2854069a6 (patch)
tree06749d8cf077d329275298604f4845d8c6647ebf /org.eclipse.mylyn.bugzilla.core
parent67496a5ce2fc2e97c75775cb2a60680474c9c986 (diff)
downloadorg.eclipse.mylyn.tasks-f410c5d758034009415dbd8475df3db2854069a6.tar.gz
org.eclipse.mylyn.tasks-f410c5d758034009415dbd8475df3db2854069a6.tar.xz
org.eclipse.mylyn.tasks-f410c5d758034009415dbd8475df3db2854069a6.zip
ASSIGNED - bug 324007: [regression] QA contact field displayed twice
https://bugs.eclipse.org/bugs/show_bug.cgi?id=324007
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.core')
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaUtil.java25
1 files changed, 14 insertions, 11 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaUtil.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaUtil.java
index ab2f0d54a..a63d1cdab 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaUtil.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaUtil.java
@@ -41,20 +41,23 @@ public class BugzillaUtil {
} else {
attribute.addValue(parsedText);
}
- String useParam = repositoryTaskData.getAttributeMapper().getTaskRepository().getProperty(propertyName);
- if (defaultWhenNull) {
- if (useParam == null || (useParam != null && useParam.equals("true"))) { //$NON-NLS-1$
- attribute.getMetaData().setKind(TaskAttribute.KIND_DEFAULT);
- } else {
- attribute.getMetaData().setKind(null);
- }
+ if (BugzillaAttribute.QA_CONTACT.equals(tag)) {
+ attribute.getMetaData().setKind(null);
} else {
- if (useParam != null && useParam.equals("true")) { //$NON-NLS-1$
- attribute.getMetaData().setKind(TaskAttribute.KIND_DEFAULT);
+ String useParam = repositoryTaskData.getAttributeMapper().getTaskRepository().getProperty(propertyName);
+ if (defaultWhenNull) {
+ if (useParam == null || (useParam != null && useParam.equals("true"))) { //$NON-NLS-1$
+ attribute.getMetaData().setKind(TaskAttribute.KIND_DEFAULT);
+ } else {
+ attribute.getMetaData().setKind(null);
+ }
} else {
- attribute.getMetaData().setKind(null);
+ if (useParam != null && useParam.equals("true")) { //$NON-NLS-1$
+ attribute.getMetaData().setKind(TaskAttribute.KIND_DEFAULT);
+ } else {
+ attribute.getMetaData().setKind(null);
+ }
}
}
-
}
}

Back to the top