Changeset 15232 in josm for trunk/scripts


Ignore:
Timestamp:
2019-07-07T23:38:39+02:00 (5 years ago)
Author:
Don-vip
Message:

see #17861 - update scripts/tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/TagInfoExtract.java

    r14746 r15232  
    7272import org.openstreetmap.josm.io.OsmTransferException;
    7373import org.openstreetmap.josm.spi.preferences.Config;
     74import org.openstreetmap.josm.tools.Http1Client;
     75import org.openstreetmap.josm.tools.HttpClient;
    7476import org.openstreetmap.josm.tools.Logging;
    7577import org.openstreetmap.josm.tools.OptionParser;
     
    9294    /**
    9395     * Main method.
     96     * @param args Main program arguments
     97     * @throws Exception if any error occurs
    9498     */
    9599    public static void main(String[] args) throws Exception {
     100        HttpClient.setFactory(Http1Client::new);
    96101        TagInfoExtract script = new TagInfoExtract();
    97102        script.parseCommandLineArguments(args);
Note: See TracChangeset for help on using the changeset viewer.