|
|
@@ -134,7 +134,6 @@ public class HttpUtils {
|
|
|
}
|
|
|
|
|
|
public static void download(String url, String filePath) {
|
|
|
- long time1 = System.currentTimeMillis();
|
|
|
InputStream in = sendGetStream(url);
|
|
|
if(null == in){
|
|
|
return;
|
|
|
@@ -149,8 +148,6 @@ public class HttpUtils {
|
|
|
} catch (IOException e) {
|
|
|
log.error("下载出错 : {}", url);
|
|
|
}
|
|
|
- long time2 = System.currentTimeMillis();
|
|
|
- log.debug(" ++ {}", (time2 - time1));
|
|
|
}
|
|
|
|
|
|
/**
|