Browse Source

Merge pull request #579 in BA/design from ~LEE/design_master:master to master

* commit '38a3b913430d64358c9e55e5cded3132debaee5c':
  1
  REPORT-1147 脚本更新问题
master
superman 8 years ago
parent
commit
d78ac7f529
  1. 3
      designer_base/src/com/fr/design/extra/PluginHelper.java

3
designer_base/src/com/fr/design/extra/PluginHelper.java

@ -48,9 +48,6 @@ public class PluginHelper {
* @param p 下载百分比处理
*/
public static void downloadPluginFile(String id, String username, String password, Process<Double> p) throws Exception {
if (!PluginHelper.invalidUser(id, username, password)) {
return;
}
HttpClient httpClient = new HttpClient(getDownloadPath(id, username, password));
if (httpClient.getResponseCode() == HttpURLConnection.HTTP_OK) {
int totalSize = httpClient.getContentLength();

Loading…
Cancel
Save