Commit f393da55 authored by Simon Spinner's avatar Simon Spinner

Avoid endless recursion when calling contains.

parent 74162f14
......@@ -350,7 +350,7 @@ public class StandardMetricHelpers {
if (super.contains(repository, metric, entity, aggregationInterval)) {
return true;
}
return repository.contains(StandardMetrics.DEPARTURES, entity, ZERO_SECONDS) && repository.contains(StandardMetrics.ARRIVALS, entity, ZERO_SECONDS);
return repository.contains(StandardMetrics.DEPARTURES, entity, ZERO_SECONDS, false) && repository.contains(StandardMetrics.ARRIVALS, entity, ZERO_SECONDS, false);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment