aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-client
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-05-14 08:45:07 +0200
committerJulien Lancelot <julien.lancelot@gmail.com>2013-05-14 08:45:07 +0200
commitc433a59aba73a56218ba8a2356844554da1794fc (patch)
treebc54399fe867b92cb7e81fce9300969b805244a5 /sonar-ws-client
parent7cac4cf9e95cb0da0ea387e28a7513a0b8989a13 (diff)
downloadsonarqube-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.java5
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");
}