Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2010-06-23 17:57:04 -0400
committerspingel2010-06-23 17:57:04 -0400
commit17c7d538593c6cb8d544b6c7aa2ce22940d6507b (patch)
tree0b8d358d6639da52f5b565221090fa8f26f0853a
parente0e90b877aee5a066399c5314540d32af7591669 (diff)
downloadorg.eclipse.mylyn.tasks-17c7d538593c6cb8d544b6c7aa2ce22940d6507b.tar.gz
org.eclipse.mylyn.tasks-17c7d538593c6cb8d544b6c7aa2ce22940d6507b.tar.xz
org.eclipse.mylyn.tasks-17c7d538593c6cb8d544b6c7aa2ce22940d6507b.zip
ASSIGNED - bug 317651: [backport] clearing of iplog flag fails on bugs.eclipse.org
https://bugs.eclipse.org/bugs/show_bug.cgi?id=317651
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java
index e68e8f34e..2c7db7eb4 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java
@@ -846,7 +846,7 @@ public class BugzillaClient {
a = a.getAttribute("state"); //$NON-NLS-1$
String id = "flag-" + flagnumber.getValue(); //$NON-NLS-1$
String value = a.getValue();
- if (value.equals(" ")) { //$NON-NLS-1$
+ if (value.equals(" ") || value.equals("")) { //$NON-NLS-1$ //$NON-NLS-2$
value = "X"; //$NON-NLS-1$
}
if (value.equals("?") && requestee != null) { //$NON-NLS-1$
@@ -962,7 +962,7 @@ public class BugzillaClient {
String requesteeName = "requestee_type-" + id.substring(26); //$NON-NLS-1$
String requesteeValue = requestee.getValue();
value = state.getValue();
- if (value.equals(" ")) { //$NON-NLS-1$
+ if (value.equals(" ") || value.equals("")) { //$NON-NLS-1$ //$NON-NLS-2$
value = "X"; //$NON-NLS-1$
}
if (value.equals("?")) { //$NON-NLS-1$
@@ -975,7 +975,7 @@ public class BugzillaClient {
String requesteeName = "requestee-" + id.substring(21); //$NON-NLS-1$
String requesteeValue = requestee.getValue();
value = state.getValue();
- if (value.equals(" ") | value.equals("")) { //$NON-NLS-1$//$NON-NLS-2$
+ if (value.equals(" ") || value.equals("")) { //$NON-NLS-1$//$NON-NLS-2$
value = "X"; //$NON-NLS-1$
}
if (value.equals("?")) { //$NON-NLS-1$
@@ -1274,7 +1274,7 @@ public class BugzillaClient {
TaskAttribute requestee = a.getAttribute("requestee"); //$NON-NLS-1$
a = a.getAttribute("state"); //$NON-NLS-1$
value = a.getValue();
- if (value.equals(" ")) { //$NON-NLS-1$
+ if (value.equals(" ") || value.equals("")) { //$NON-NLS-1$ //$NON-NLS-2$
continue;
}
String flagname = a.getMetaData().getLabel();
@@ -1300,7 +1300,7 @@ public class BugzillaClient {
a = a.getAttribute("state"); //$NON-NLS-1$
id = "flag-" + flagnumber.getValue(); //$NON-NLS-1$
value = a.getValue();
- if (value.equals(" ")) { //$NON-NLS-1$
+ if (value.equals(" ") || value.equals("")) { //$NON-NLS-1$ //$NON-NLS-2$
value = "X"; //$NON-NLS-1$
}
if (value.equals("?") && requestee != null) { //$NON-NLS-1$

Back to the top