提交 e8033ab3 编写于 作者: K kohsuke

exposing the method for use in ssh-slaves.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20100 71c3de6d-444a-0410-be80-ed276b4c234a
上级 6fae7a01
......@@ -221,9 +221,8 @@ public class JDKInstaller extends ToolInstaller {
/**
* Performs a license click through and obtains the one-time URL for downloading bits.
*
*/
/*package*/ URL locate(TaskListener log, Platform platform, CPU cpu) throws IOException {
public URL locate(TaskListener log, Platform platform, CPU cpu) throws IOException {
HttpURLConnection con = locateStage1(platform, cpu);
String page = IOUtils.toString(con.getInputStream());
return locateStage2(log, page);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册