diff options
author | fbecker | 2010-01-04 21:03:49 +0000 |
---|---|---|
committer | fbecker | 2010-01-04 21:03:49 +0000 |
commit | ff284ec8d73e431d55a0e26f9b041c658bc95694 (patch) | |
tree | a2f5b7fd0d2b711e56abb2d5249185a966b337be /org.eclipse.mylyn.bugzilla.core | |
parent | 15146779b5b3cd4c0818b77e06db8454fcbc95ff (diff) | |
download | org.eclipse.mylyn.tasks-ff284ec8d73e431d55a0e26f9b041c658bc95694.tar.gz org.eclipse.mylyn.tasks-ff284ec8d73e431d55a0e26f9b041c658bc95694.tar.xz org.eclipse.mylyn.tasks-ff284ec8d73e431d55a0e26f9b041c658bc95694.zip |
https://bugs.eclipse.org/bugs/show_bug.cgi?id=298493
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.core')
-rw-r--r-- | org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java | 7 |
1 files changed, 6 insertions, 1 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 f53dee24b..ee471332d 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 @@ -1746,7 +1746,12 @@ public class BugzillaClient { Set<String> idsToRetrieve = new HashSet<String>(); Iterator<String> itr = taskIds.iterator(); for (int x = 0; itr.hasNext() && x < MAX_RETRIEVED_PER_QUERY; x++) { - idsToRetrieve.add(itr.next()); + String taskId = itr.next(); + // remove leading zeros + while (taskId.startsWith("0")) { //$NON-NLS-1$ + taskId = taskId.substring(1); + } + idsToRetrieve.add(taskId); } NameValuePair[] formData = new NameValuePair[idsToRetrieve.size() + 2]; |