Update system fixed

This commit is contained in:
Jindra Petřík
2015-05-04 10:48:55 +02:00
parent 37647545ec
commit 16bb58692b
2 changed files with 3 additions and 3 deletions

View File

@@ -1271,7 +1271,7 @@ public class Main {
URL url = new URL(ApplicationInfo.updateCheckUrl);
URLConnection uc = null;
if (proxyAddress != null) {
if (proxyAddress != null && !proxyAddress.isEmpty()) {
int port = 8080;
if (proxyAddress.contains(":")) {
String[] parts = proxyAddress.split(":");