Changeset 12537 in josm for trunk/src/org/openstreetmap/josm/io/DefaultProxySelector.java
- Timestamp:
- 2017-07-30T00:22:46+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/DefaultProxySelector.java
r12279 r12537 41 41 * We therefore read the property at class loading time and remember it's value. 42 42 */ 43 private static boolean JVM_WILL_USE_SYSTEM_PROXIES;43 private static boolean jvmWillUseSystemProxies; 44 44 static { 45 45 String v = System.getProperty("java.net.useSystemProxies"); 46 46 if (v != null && v.equals(Boolean.TRUE.toString())) { 47 JVM_WILL_USE_SYSTEM_PROXIES= true;47 jvmWillUseSystemProxies = true; 48 48 } 49 49 } … … 59 59 */ 60 60 public static boolean willJvmRetrieveSystemProxies() { 61 return JVM_WILL_USE_SYSTEM_PROXIES;61 return jvmWillUseSystemProxies; 62 62 } 63 63 … … 202 202 switch(proxyPolicy) { 203 203 case USE_SYSTEM_SETTINGS: 204 if (! JVM_WILL_USE_SYSTEM_PROXIES) {204 if (!jvmWillUseSystemProxies) { 205 205 Main.warn(tr("The JVM is not configured to lookup proxies from the system settings. "+ 206 206 "The property ''java.net.useSystemProxies'' was missing at startup time. Will not use a proxy."));
Note:
See TracChangeset
for help on using the changeset viewer.