From 4cefe09f09d68f3507b5ccb94c63f8d1020c2070 Mon Sep 17 00:00:00 2001 From: Spencer Gibb Date: Tue, 5 Jun 2018 13:36:18 -0400 Subject: [PATCH] Removes deprecated constructor --- .../org/springframework/cloud/consul/config/ConfigWatch.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spring-cloud-consul-config/src/main/java/org/springframework/cloud/consul/config/ConfigWatch.java b/spring-cloud-consul-config/src/main/java/org/springframework/cloud/consul/config/ConfigWatch.java index 202e6c77..c5ef893a 100644 --- a/spring-cloud-consul-config/src/main/java/org/springframework/cloud/consul/config/ConfigWatch.java +++ b/spring-cloud-consul-config/src/main/java/org/springframework/cloud/consul/config/ConfigWatch.java @@ -54,11 +54,6 @@ public class ConfigWatch implements Closeable, ApplicationEventPublisherAware { private ApplicationEventPublisher publisher; private boolean firstTime = true; - @Deprecated - public ConfigWatch(ConsulConfigProperties properties, List contexts, ConsulClient consul) { - this(properties, consul, new LinkedHashMap<>()); - } - public ConfigWatch(ConsulConfigProperties properties, ConsulClient consul, LinkedHashMap initialIndexes) { this.properties = properties; this.consul = consul;