Source:
public ITmfCommonXAxisResponse fetchXY(TimeQueryFilter filter, @Nullable IProgressMonitor monitor) { ITmfXmlStateAttribute display = fDisplay; XmlXYEntry entry = fXmlEntry; ITmfStateSystem ss = entry.getStateSystem(); List<Integer> quarks = entry.getQuarks(); Map<String, double[]> tempModel = new HashMap<>(); long[] xValues = filter.getTimesRequested(); try { for (int i = 0; i < xValues.length; i++) { long time = xValues[i]; if (ss.getStartTime() <= time && time <= ss.getCurrentEndTime()) { List<@NonNull ITmfStateInterval> full = ss.queryFullState(time); for (int quark : quarks) { Object seriesNameValue = full.get(quark).getValue(); if (seriesNameValue != null && !seriesNameValue.toString().isEmpty()) { String seriesName = String.valueOf(seriesNameValue); Object value = full.get(display.getAttributeQuark(quark, null)).getValue(); double[] yValues = tempModel.get(seriesName); if (yValues != null) { setYValue(i, yValues, extractValue(value), entry.getType()); } else { tempModel.put(seriesName, new double[xValues.length]); } } } } } } catch (StateSystemDisposedException e) { return TmfCommonXAxisResponseFactory.createFailedResponse(e.getMessage()); } ImmutableMap.Builder<String, IYModel> ySeries = ImmutableMap.builder(); for (Entry<String, double[]> tempEntry : tempModel.entrySet()) { ySeries.put(tempEntry.getKey(), new YModel(tempEntry.getKey(), tempEntry.getValue())); } boolean complete = ss.waitUntilBuilt(0); long currentEnd = ss.getCurrentEndTime(); return TmfCommonXAxisResponseFactory.create(Objects.requireNonNull(Messages.XmlDataProvider_DefaultTitle), xValues, ySeries.build(), currentEnd, complete); }

Target:
public ITmfCommonXAxisResponse fetchXY(TimeQueryFilter filter, @Nullable IProgressMonitor monitor) { ITmfXmlStateAttribute display = fDisplay; XmlXYEntry entry = fXmlEntry; ITmfStateSystem ss = entry.getStateSystem(); List<Integer> quarks = entry.getQuarks(); Map<String, double[]> tempModel = new HashMap<>(); long[] xValues = filter.getTimesRequested(); try { for (int i = 0; i < xValues.length; i++) { long time = xValues[i]; if (ss.getStartTime() <= time && time <= ss.getCurrentEndTime()) { List<@NonNull ITmfStateInterval> full = ss.queryFullState(time); for (int quark : quarks) { String seriesName = (String) full.get(quark).getValue(); if (seriesName != null && !seriesName.isEmpty()) { Object value = full.get(display.getAttributeQuark(quark, null)).getValue(); double[] yValues = tempModel.get(seriesName); if (yValues != null) { setYValue(i, yValues, extractValue(value), entry.getType()); } else { yValues = new double[xValues.length]; setYValue(i, yValues, extractValue(value), entry.getType()); tempModel.put(seriesName, yValues); } } } } } } catch (StateSystemDisposedException e) { return TmfCommonXAxisResponseFactory.createFailedResponse(e.getMessage()); } ImmutableMap.Builder<String, IYModel> ySeries = ImmutableMap.builder(); for (Entry<String, double[]> tempEntry : tempModel.entrySet()) { ySeries.put(tempEntry.getKey(), new YModel(tempEntry.getKey(), tempEntry.getValue())); } boolean complete = ss.waitUntilBuilt(0); long currentEnd = ss.getCurrentEndTime(); return TmfCommonXAxisResponseFactory.create(Objects.requireNonNull(Messages.XmlDataProvider_DefaultXYTitle), xValues, ySeries.build(), currentEnd, complete); }