Fix checkstyle violation

pull/20222/head
Stephane Nicoll 5 years ago
parent 68acc41295
commit d85bdfb23c

@ -144,7 +144,8 @@ public class WebMvcMetricsFilter extends OncePerRequestFilter {
Builder builder = this.autoTimer.builder(this.metricName); Builder builder = this.autoTimer.builder(this.metricName);
timerSample.stop(getTimer(builder, handler, request, response, exception)); timerSample.stop(getTimer(builder, handler, request, response, exception));
} }
} else { }
else {
for (Timed annotation : annotations) { for (Timed annotation : annotations) {
Builder builder = Timer.builder(annotation, this.metricName); Builder builder = Timer.builder(annotation, this.metricName);
timerSample.stop(getTimer(builder, handler, request, response, exception)); timerSample.stop(getTimer(builder, handler, request, response, exception));

Loading…
Cancel
Save