git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3438 spotless for 2.11.2.0
[jalview.git]
/
src
/
jalview
/
util
/
HttpUtils.java
diff --git
a/src/jalview/util/HttpUtils.java
b/src/jalview/util/HttpUtils.java
index
5473f5a
..
0454cab
100644
(file)
--- 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://");
}
{
return file.startsWith("http://") || file.startsWith("https://");
}
-
/**
* wrapper to get/post to a URL or check headers
/**
* wrapper to get/post to a URL or check headers
+ *
* @param url
* @param ids
* @param readTimeout
* @param url
* @param ids
* @param readTimeout
@@
-84,8
+84,8
@@
public class HttpUtils
* @throws IOException
* @throws ProtocolException
*/
* @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);
{
// System.out.println(System.currentTimeMillis() + " " + url);