Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Sawicki2012-02-15 17:00:00 -0500
committerKevin Sawicki2012-02-16 11:19:13 -0500
commitb6d362e5183d48d1502ebe4196208225a89447ca (patch)
treea73a908459e752ba21d380b24a9e3b41d704e3a8
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
-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