diff options
author | Bjørn Christian Seime <bjorncs@oath.com> | 2018-01-17 11:02:33 +0100 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@oath.com> | 2018-01-17 11:02:33 +0100 |
commit | 393967aa13f70b06fc079a270de79a18f6c84f8a (patch) | |
tree | 25a3cbdcdb5d8d231a913d9aae9a5e66b4fec3c6 /controller-server | |
parent | 6e4d5d8ba9da5133d3ac6db99f357d7357a516c5 (diff) |
Make static
Diffstat (limited to 'controller-server')
-rw-r--r-- | controller-server/src/main/java/com/yahoo/vespa/hosted/controller/proxy/ConfigServerRestExecutorImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/proxy/ConfigServerRestExecutorImpl.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/proxy/ConfigServerRestExecutorImpl.java index 1757e7eec02..81388ccce03 100644 --- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/proxy/ConfigServerRestExecutorImpl.java +++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/proxy/ConfigServerRestExecutorImpl.java @@ -117,7 +117,7 @@ public class ConfigServerRestExecutorImpl implements ConfigServerRestExecutor { return new ProxyResponse(proxyRequest, node.toString(), 200, Optional.empty(), "application/json"); } - private String removeFirstSlashIfAny(String url) { + private static String removeFirstSlashIfAny(String url) { if (url.startsWith("/")) { return url.substring(1); } @@ -180,7 +180,7 @@ public class ConfigServerRestExecutorImpl implements ConfigServerRestExecutor { ).orElse(""); } - private HttpRequestBase createHttpBaseRequest(String method, String uri, InputStream data) throws ProxyException { + private static HttpRequestBase createHttpBaseRequest(String method, String uri, InputStream data) throws ProxyException { Method enumMethod = Method.valueOf(method); switch (enumMethod) { case GET: |