Browse Source

add override annotation for Specification child class

pull/1197/head
qingshanpeng 3 years ago committed by Olga Maciaszek-Sharma
parent
commit
d22b30b508
  1. 2
      spring-cloud-loadbalancer/src/main/java/org/springframework/cloud/loadbalancer/annotation/LoadBalancerClientSpecification.java

2
spring-cloud-loadbalancer/src/main/java/org/springframework/cloud/loadbalancer/annotation/LoadBalancerClientSpecification.java

@ -42,6 +42,7 @@ public class LoadBalancerClientSpecification implements NamedContextFactory.Spec @@ -42,6 +42,7 @@ public class LoadBalancerClientSpecification implements NamedContextFactory.Spec
this.configuration = configuration;
}
@Override
public String getName() {
return this.name;
}
@ -51,6 +52,7 @@ public class LoadBalancerClientSpecification implements NamedContextFactory.Spec @@ -51,6 +52,7 @@ public class LoadBalancerClientSpecification implements NamedContextFactory.Spec
this.name = name;
}
@Override
public Class<?>[] getConfiguration() {
return this.configuration;
}

Loading…
Cancel
Save