dropwizard-e2e/src/main/java/com/example/health/HealthApp.java
Method run
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void run(final Configuration configuration, final Environment environment) throws Exception {
environment.healthChecks().register(CRITICAL_HEALTH_CHECK_NAME_1, new HealthCheck() {
@Override
protected Result check() {