Fix checkstyle violations and make checkstyle obligatory

`MetricsService` is an interface and because all members of interfaces are implicitly public and final, the `static final` modifiers were redundant at this place. The change does not change the semantics.