Simon Willnauer 8 лет назад
Родитель
Сommit
d36fc66af1

+ 1 - 1
core/src/main/java/org/elasticsearch/action/search/RemoteClusterService.java

@@ -335,7 +335,7 @@ public final class RemoteClusterService extends AbstractComponent implements Clo
         }));
     }
 
-    static final InetSocketAddress parseSeedAddress(String remoteHost) {
+    static InetSocketAddress parseSeedAddress(String remoteHost) {
         int portSeparator = remoteHost.lastIndexOf(':'); // in case we have a IPv6 address ie. [::1]:9300
         if (portSeparator == -1 || portSeparator == remoteHost.length()) {
             throw new IllegalArgumentException("remote hosts need to be configured as [host:port], found [" + remoteHost + "] instead");