X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Futil%2FHttpUtils.java;h=0454cabc3a7036ebedcad745d28a44401c1cc32b;hb=57738a1f3c19b1c3a00bd3ac5108f8cd0af32f99;hp=5473f5adf624ed2287bb2f9c67bd766327e4ecc3;hpb=e7338a61f3ce96dadf44ac80b2b32cc5ba4b94c8;p=jalview.git diff --git a/src/jalview/util/HttpUtils.java b/src/jalview/util/HttpUtils.java index 5473f5a..0454cab 100644 --- a/src/jalview/util/HttpUtils.java +++ b/src/jalview/util/HttpUtils.java @@ -73,10 +73,10 @@ public class HttpUtils { return file.startsWith("http://") || file.startsWith("https://"); } - /** * wrapper to get/post to a URL or check headers + * * @param url * @param ids * @param readTimeout @@ -84,8 +84,8 @@ public class HttpUtils * @throws IOException * @throws ProtocolException */ - public static boolean checkUrlAvailable(URL url, - int readTimeout) throws IOException, ProtocolException + public static boolean checkUrlAvailable(URL url, int readTimeout) + throws IOException, ProtocolException { // System.out.println(System.currentTimeMillis() + " " + url);