<BUG>TimeSeries values = series.get(m);</BUG><CONTEXT>Collections.sort(m.getTags());if (prev != null && metricComparator.compare(prev, m) >= 0) {break;}prev = m;<extra_id_0>if (null == values) {LOG.trace("Creating new time series {}", m);values = new TimeSeries(this, filters.length);</CONTEXT>
TimeSeries values = series.remove(m);