diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-12-08 13:23:18 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-12-08 13:23:18 +0000 |
commit | 72d3b0a889574cea355b61f7395b38a55071da33 (patch) | |
tree | ccf1d4e3fb47c30aa0addce09913d5017833b559 /sonar-gwt-api | |
parent | 4a7eae13c556369592da2ed726e4c8546b61a17a (diff) | |
download | sonarqube-72d3b0a889574cea355b61f7395b38a55071da33.tar.gz sonarqube-72d3b0a889574cea355b61f7395b38a55071da33.zip |
SONAR-1937 violations tab : display violation age in days to current date
Diffstat (limited to 'sonar-gwt-api')
-rw-r--r-- | sonar-gwt-api/src/main/java/org/sonar/wsclient/gwt/unmarshallers/ViolationUnmarshaller.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sonar-gwt-api/src/main/java/org/sonar/wsclient/gwt/unmarshallers/ViolationUnmarshaller.java b/sonar-gwt-api/src/main/java/org/sonar/wsclient/gwt/unmarshallers/ViolationUnmarshaller.java index d5fff51f259..bf0194820e3 100644 --- a/sonar-gwt-api/src/main/java/org/sonar/wsclient/gwt/unmarshallers/ViolationUnmarshaller.java +++ b/sonar-gwt-api/src/main/java/org/sonar/wsclient/gwt/unmarshallers/ViolationUnmarshaller.java @@ -31,7 +31,6 @@ public class ViolationUnmarshaller extends AbstractUnmarshaller<Violation> { violation.setLine(JsonUtils.getInteger(json, "line")); violation.setSeverity(JsonUtils.getString(json, "priority")); violation.setCreatedAt(JsonUtils.getDate(json, "createdAt")); - violation.setAge(JsonUtils.getInteger(json, "age")); JSONObject rule = (JSONObject) json.get("rule"); if (rule != null) { |