1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 00:17:11 -07:00

Remove extra /.

This commit is contained in:
Cedric Beust 2015-10-14 20:12:18 -07:00
parent a79cf4c862
commit 230679f871

View file

@ -162,7 +162,7 @@ public class Main {
private static final String[] FILES = new String[] { KOBALTW, "kobalt/wrapper/" + FILE_NAME + "-wrapper.jar" }; private static final String[] FILES = new String[] { KOBALTW, "kobalt/wrapper/" + FILE_NAME + "-wrapper.jar" };
private void download(String fn, File file) throws IOException { private void download(String fn, File file) throws IOException {
String fileUrl = URL + "/" + fn; String fileUrl = URL + fn;
URL url = new URL(fileUrl); URL url = new URL(fileUrl);
HttpURLConnection httpConn = (HttpURLConnection) url.openConnection(); HttpURLConnection httpConn = (HttpURLConnection) url.openConnection();