Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Sawicki2012-02-15 22:00:00 +0000
committerKevin Sawicki2012-02-16 16:19:13 +0000
commitb6d362e5183d48d1502ebe4196208225a89447ca (patch)
treea73a908459e752ba21d380b24a9e3b41d704e3a8 /org.eclipse.egit.github.core/src
parent09b1ce965479e112b21aea3661499bf1db675084 (diff)
downloadegit-github-b6d362e5183d48d1502ebe4196208225a89447ca.tar.gz
egit-github-b6d362e5183d48d1502ebe4196208225a89447ca.tar.xz
egit-github-b6d362e5183d48d1502ebe4196208225a89447ca.zip
Set milestone to empty string when clearing
If the client is configured to not serialize nulls then it becomes impossible to clear the milestone if null is inserted here instead of empty string Change-Id: Iba384050de43d4e81077b6316147354fb0b52c22
Diffstat (limited to 'org.eclipse.egit.github.core/src')
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/IssueService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/IssueService.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/IssueService.java
index cffc6df0..b0a50a60 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/IssueService.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/IssueService.java
@@ -581,7 +581,7 @@ public class IssueService extends GitHubService {
params.put(FILTER_MILESTONE, Integer.toString(number));
else {
if (!newIssue)
- params.put(FILTER_MILESTONE, null);
+ params.put(FILTER_MILESTONE, ""); //$NON-NLS-1$
}
}
List<Label> labels = issue.getLabels();

Back to the top