Source:
public TmfModelResponse<ITmfCommonXAxisModel> 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) || filter.getEnd() < ss.getCurrentEndTime(); return TmfCommonXAxisResponseFactory.create(Objects.requireNonNull(Messages.XmlDataProvider_DefaultXYTitle), xValues, ySeries.build(), complete); }

Target:
public TmfModelResponse<ITmfCommonXAxisModel> 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(); long currentEnd = ss.getCurrentEndTime(); try { for (int i = 0; i < xValues.length; i++) { long time = xValues[i]; if (ss.getStartTime() <= time && time <= currentEnd) { 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) || filter.getEnd() <= currentEnd; return TmfCommonXAxisResponseFactory.create(Objects.requireNonNull(Messages.XmlDataProvider_DefaultXYTitle), xValues, ySeries.build(), complete); }