Changeset 12620 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/server/ProxyPreferencesPanel.java
- Timestamp:
- 2017-08-22T22:26:32+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/server/ProxyPreferencesPanel.java
r11553 r12620 37 37 import org.openstreetmap.josm.io.auth.CredentialsManager; 38 38 import org.openstreetmap.josm.tools.GBC; 39 import org.openstreetmap.josm.tools.Logging; 39 40 40 41 /** … … 345 346 346 347 if (pp.equals(ProxyPolicy.USE_SYSTEM_SETTINGS) && !DefaultProxySelector.willJvmRetrieveSystemProxies()) { 347 Main.warn(tr("JOSM is configured to use proxies from the system setting, but the JVM is not configured to retrieve them. " +348 Logging.warn(tr("JOSM is configured to use proxies from the system setting, but the JVM is not configured to retrieve them. " + 348 349 "Resetting preferences to ''No proxy''")); 349 350 pp = ProxyPolicy.NO_PROXY; … … 364 365 } 365 366 } catch (CredentialsAgentException e) { 366 Main.error(e);367 Logging.error(e); 367 368 tfProxyHttpUser.setText(""); 368 369 tfProxyHttpPassword.setText(""); … … 436 437 cm.store(RequestorType.PROXY, tfProxyHttpHost.getText(), pa); 437 438 } catch (CredentialsAgentException e) { 438 Main.error(e);439 Logging.error(e); 439 440 } 440 441 }
Note:
See TracChangeset
for help on using the changeset viewer.