diff options
author | Jon Bratseth <bratseth@verizonmedia.com> | 2020-01-07 14:31:04 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@verizonmedia.com> | 2020-01-07 14:31:04 +0100 |
commit | a11412b2f0184c2cc0c102c38d9701aff1bb27ae (patch) | |
tree | 7e32649f5ab2341bbe79104924df3c4a17bf459d /vespa-http-client | |
parent | b92b5c31216fb331d9bc6b63c13c99424e7991d9 (diff) |
Make static
Diffstat (limited to 'vespa-http-client')
-rw-r--r-- | vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java index 2faa6d86426..0e7488c8927 100644 --- a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java +++ b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/communication/ApacheGatewayConnection.java @@ -96,7 +96,7 @@ class ApacheGatewayConnection implements GatewayConnection { throw new IllegalArgumentException("Got no client Id."); } - private Endpoint validate(Endpoint endpoint) { + private static Endpoint validate(Endpoint endpoint) { try { InetAddress.getByName(endpoint.getHostname()); return endpoint; |