From 8901dbe49c1271c0aefa92a0c8d068d128990158 Mon Sep 17 00:00:00 2001 From: Kohsuke Kawaguchi Date: Fri, 14 Feb 2014 18:29:06 -0800 Subject: [PATCH] Exposing it outside --- cli/src/main/java/hudson/cli/CLI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/main/java/hudson/cli/CLI.java b/cli/src/main/java/hudson/cli/CLI.java index 6549c39d73..2ee12793cd 100644 --- a/cli/src/main/java/hudson/cli/CLI.java +++ b/cli/src/main/java/hudson/cli/CLI.java @@ -261,7 +261,7 @@ public class CLI { /** * If the server advertises CLI endpoint, returns its location. */ - private CliPort getCliTcpPort(String url) throws IOException { + protected CliPort getCliTcpPort(String url) throws IOException { URL _url = new URL(url); if (_url.getHost()==null || _url.getHost().length()==0) { throw new IOException("Invalid URL: "+url); -- GitLab