Merge pull request #12284 from izeye:unnecessary-method

* pr/12284:
  Remove an unnecessary method in EndpointDiscoverer
pull/12284/merge
Stephane Nicoll 7 years ago
commit b25656f6c6

@ -26,7 +26,6 @@ import java.util.Map;
import java.util.Objects; import java.util.Objects;
import java.util.Set; import java.util.Set;
import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentHashMap;
import java.util.function.Function;
import java.util.function.Supplier; import java.util.function.Supplier;
import java.util.stream.Collectors; import java.util.stream.Collectors;
@ -317,10 +316,6 @@ public abstract class EndpointDiscoverer<E extends ExposableEndpoint<O>, O exten
.get(); .get();
} }
public <A, B> void doIt(Function<A, B> x) {
}
private E getFilterEndpoint(EndpointBean endpointBean) { private E getFilterEndpoint(EndpointBean endpointBean) {
E endpoint = this.filterEndpoints.get(endpointBean); E endpoint = this.filterEndpoints.get(endpointBean);
if (endpoint == null) { if (endpoint == null) {

Loading…
Cancel
Save