Changeset 15232 in josm
- Timestamp:
- 2019-07-07T23:38:39+02:00 (5 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/TagInfoExtract.java
r14746 r15232 72 72 import org.openstreetmap.josm.io.OsmTransferException; 73 73 import org.openstreetmap.josm.spi.preferences.Config; 74 import org.openstreetmap.josm.tools.Http1Client; 75 import org.openstreetmap.josm.tools.HttpClient; 74 76 import org.openstreetmap.josm.tools.Logging; 75 77 import org.openstreetmap.josm.tools.OptionParser; … … 92 94 /** 93 95 * Main method. 96 * @param args Main program arguments 97 * @throws Exception if any error occurs 94 98 */ 95 99 public static void main(String[] args) throws Exception { 100 HttpClient.setFactory(Http1Client::new); 96 101 TagInfoExtract script = new TagInfoExtract(); 97 102 script.parseCommandLineArguments(args); -
trunk/test/unit/org/openstreetmap/josm/testutils/JOSMTestRules.java
r15095 r15232 58 58 import org.openstreetmap.josm.testutils.mockers.WindowlessMapViewStateMocker; 59 59 import org.openstreetmap.josm.testutils.mockers.WindowlessNavigatableComponentMocker; 60 import org.openstreetmap.josm.tools.Http1Client; 61 import org.openstreetmap.josm.tools.HttpClient; 60 62 import org.openstreetmap.josm.tools.I18n; 61 63 import org.openstreetmap.josm.tools.JosmRuntimeException; … … 479 481 DeleteCommand.setDeletionCallback(DeleteAction.defaultDeletionCallback); 480 482 OsmConnection.setOAuthAccessTokenFetcher(OAuthAuthorizationWizard::obtainAccessToken); 483 HttpClient.setFactory(Http1Client::new); 481 484 482 485 // Set up i18n
Note:
See TracChangeset
for help on using the changeset viewer.