Changeset 2641 in josm for trunk/src/org/openstreetmap/josm/gui/MainApplication.java
- Timestamp:
- 2009-12-16T18:58:04+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r2358 r2641 9 9 import java.awt.event.WindowAdapter; 10 10 import java.awt.event.WindowEvent; 11 import java.net.Authenticator; 12 import java.net.ProxySelector; 11 13 import java.util.Arrays; 12 14 import java.util.Collection; … … 19 21 20 22 import org.openstreetmap.josm.Main; 23 import org.openstreetmap.josm.io.DefaultProxySelector; 24 import org.openstreetmap.josm.io.auth.CredentialsManagerFactory; 25 import org.openstreetmap.josm.io.auth.DefaultAuthenticator; 21 26 import org.openstreetmap.josm.plugins.PluginHandler; 22 27 import org.openstreetmap.josm.tools.BugReportExceptionHandler; … … 97 102 } 98 103 Main.pref.updateSystemProperties(); 104 105 Authenticator.setDefault( 106 new DefaultAuthenticator( 107 CredentialsManagerFactory.getCredentialManager() 108 ) 109 ); 110 ProxySelector.setDefault(new DefaultProxySelector(ProxySelector.getDefault())); 99 111 100 112 if (argList.contains("--help") || argList.contains("-?") || argList.contains("-h")) {
Note:
See TracChangeset
for help on using the changeset viewer.