Commit 70a26fec by Gregor Zurowski Committed by Spencer Gibb

Use static import for constants (#2103)

parent a496dc81
...@@ -33,6 +33,8 @@ import com.netflix.discovery.shared.transport.EurekaTransportConfig; ...@@ -33,6 +33,8 @@ import com.netflix.discovery.shared.transport.EurekaTransportConfig;
import lombok.Data; import lombok.Data;
import static org.springframework.cloud.netflix.eureka.EurekaConstants.DEFAULT_PREFIX;
/** /**
* @author Dave Syer * @author Dave Syer
*/ */
...@@ -45,7 +47,7 @@ public class EurekaClientConfigBean implements EurekaClientConfig { ...@@ -45,7 +47,7 @@ public class EurekaClientConfigBean implements EurekaClientConfig {
@Autowired(required = false) @Autowired(required = false)
PropertyResolver propertyResolver; PropertyResolver propertyResolver;
public static final String DEFAULT_URL = "http://localhost:8761" + EurekaConstants.DEFAULT_PREFIX public static final String DEFAULT_URL = "http://localhost:8761" + DEFAULT_PREFIX
+ "/"; + "/";
public static final String DEFAULT_ZONE = "defaultZone"; public static final String DEFAULT_ZONE = "defaultZone";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment