Fix checkstyle violation

This commit is contained in:
Stephane Nicoll 2020-02-04 10:19:01 +01:00
parent 68acc41295
commit d85bdfb23c
1 changed files with 2 additions and 1 deletions

View File

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