Ignore:
Timestamp:
2018-08-11T17:51:12+02:00 (16 months ago)
Author:
Don-vip
Message:

see #15229 - deprecate all Main methods related to network features. New NetworkManager class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/HttpClient.java

    r13647 r14121  
    2929import java.util.zip.GZIPInputStream;
    3030
    31 import org.openstreetmap.josm.Main;
    3231import org.openstreetmap.josm.data.Version;
    3332import org.openstreetmap.josm.gui.progress.NullProgressMonitor;
    3433import org.openstreetmap.josm.gui.progress.ProgressMonitor;
    3534import org.openstreetmap.josm.io.Compression;
     35import org.openstreetmap.josm.io.NetworkManager;
    3636import org.openstreetmap.josm.io.ProgressInputStream;
    3737import org.openstreetmap.josm.io.ProgressOutputStream;
     
    162162                Logging.warn(e);
    163163                //noinspection ThrowableResultOfMethodCallIgnored
    164                 Main.addNetworkError(url, Utils.getRootCause(e));
     164                NetworkManager.addNetworkError(url, Utils.getRootCause(e));
    165165                throw e;
    166166            }
Note: See TracChangeset for help on using the changeset viewer.