diff options
Diffstat (limited to 'sonar-gwt-api')
-rw-r--r-- | sonar-gwt-api/src/main/java/org/sonar/wsclient/gwt/unmarshallers/TimeMachineUnmarshaller.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-gwt-api/src/main/java/org/sonar/wsclient/gwt/unmarshallers/TimeMachineUnmarshaller.java b/sonar-gwt-api/src/main/java/org/sonar/wsclient/gwt/unmarshallers/TimeMachineUnmarshaller.java index adc79ccc582..562e986c70e 100644 --- a/sonar-gwt-api/src/main/java/org/sonar/wsclient/gwt/unmarshallers/TimeMachineUnmarshaller.java +++ b/sonar-gwt-api/src/main/java/org/sonar/wsclient/gwt/unmarshallers/TimeMachineUnmarshaller.java @@ -31,6 +31,7 @@ public class TimeMachineUnmarshaller extends AbstractUnmarshaller<TimeMachine> { for (int i = 0; i < size; i++) { JSONObject cellJson = JsonUtils.getArray(cells, i); JSONArray valuesJson = cellJson.get("v").isArray(); + Object[] resultValues = new Object[JsonUtils.getArraySize(valuesJson)]; for (int indexValue = 0; indexValue < JsonUtils.getArraySize(valuesJson); indexValue++) { Object value = valuesJson.get(indexValue); |