diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2013-05-14 08:45:07 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2013-05-14 08:45:07 +0200 |
commit | c433a59aba73a56218ba8a2356844554da1794fc (patch) | |
tree | bc54399fe867b92cb7e81fce9300969b805244a5 /sonar-ws-client | |
parent | 7cac4cf9e95cb0da0ea387e28a7513a0b8989a13 (diff) | |
download | sonarqube-c433a59aba73a56218ba8a2356844554da1794fc.tar.gz sonarqube-c433a59aba73a56218ba8a2356844554da1794fc.zip |
SONAR-4282 Improve Action Plan WS
Diffstat (limited to 'sonar-ws-client')
-rw-r--r-- | sonar-ws-client/src/main/java/org/sonar/wsclient/issue/ActionPlan.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/ActionPlan.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/ActionPlan.java index 2b73d5975f3..1c0853408ef 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/ActionPlan.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/issue/ActionPlan.java @@ -22,6 +22,7 @@ package org.sonar.wsclient.issue; import org.sonar.wsclient.unmarshallers.JsonUtils; import javax.annotation.CheckForNull; + import java.util.Date; import java.util.Map; @@ -80,11 +81,11 @@ public class ActionPlan { return JsonUtils.getDateTime(json, "updatedAt"); } - public int totalIssues() { + public Integer totalIssues() { return JsonUtils.getInteger(json, "totalIssues"); } - public int openIssues() { + public Integer openIssues() { return JsonUtils.getInteger(json, "openIssues"); } |