|
|
@ -61,7 +61,6 @@ public class PluginManager implements Runnable{ |
|
|
|
try { |
|
|
|
try { |
|
|
|
url = new URL(plugins.get(i).url); |
|
|
|
url = new URL(plugins.get(i).url); |
|
|
|
} catch (MalformedURLException e2) { |
|
|
|
} catch (MalformedURLException e2) { |
|
|
|
// TODO Auto-generated catch block
|
|
|
|
|
|
|
|
e2.printStackTrace(); |
|
|
|
e2.printStackTrace(); |
|
|
|
} |
|
|
|
} |
|
|
|
if (url!=null) { |
|
|
|
if (url!=null) { |
|
|
@ -71,7 +70,6 @@ public class PluginManager implements Runnable{ |
|
|
|
httpCon = (HttpURLConnection) url.openConnection(); |
|
|
|
httpCon = (HttpURLConnection) url.openConnection(); |
|
|
|
httpCon.setRequestMethod("HEAD"); |
|
|
|
httpCon.setRequestMethod("HEAD"); |
|
|
|
} catch (IOException e1) { |
|
|
|
} catch (IOException e1) { |
|
|
|
// TODO Auto-generated catch block
|
|
|
|
|
|
|
|
e1.printStackTrace(); |
|
|
|
e1.printStackTrace(); |
|
|
|
} |
|
|
|
} |
|
|
|
if (httpCon!=null) { |
|
|
|
if (httpCon!=null) { |
|
|
|