diff --git a/src/main/java/io/dropwizard/health/core/HealthCheckBundle.java b/src/main/java/io/dropwizard/health/core/HealthCheckBundle.java index 37d652a..95ccdbc 100644 --- a/src/main/java/io/dropwizard/health/core/HealthCheckBundle.java +++ b/src/main/java/io/dropwizard/health/core/HealthCheckBundle.java @@ -33,6 +33,7 @@ public HealthCheckBundle() { this(null); } + @Deprecated protected HealthCheckBundle(String name) { this.name = name; if (name != null) { @@ -140,6 +141,7 @@ protected HealthCheckManager createHealthCheckManager(final List healthCheckConfigs, final HealthCheckScheduler scheduler, final MetricRegistry metrics, diff --git a/src/main/java/io/dropwizard/health/core/HealthCheckManager.java b/src/main/java/io/dropwizard/health/core/HealthCheckManager.java index 80cf6a4..acf29f0 100644 --- a/src/main/java/io/dropwizard/health/core/HealthCheckManager.java +++ b/src/main/java/io/dropwizard/health/core/HealthCheckManager.java @@ -66,6 +66,7 @@ public HealthCheckManager(final List configs, this(configs, scheduler, metrics, managerName, DEFAULT_SHUTDOWN_WAIT_PERIOD, DEFAULT_INITIAL_OVERALL_STATE); } + @Deprecated public HealthCheckManager(final List configs, final HealthCheckScheduler scheduler, final MetricRegistry metrics,