Ignore:
Timestamp:
2017-09-23T23:20:03+02:00 (2 years ago)
Author:
bastiK
Message:

see #15229 - move non-essential helper methods from Preferences to PreferencesUtils

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/UploadStrategy.java

    r12846 r12891  
    66import java.util.Locale;
    77
    8 import org.openstreetmap.josm.Main;
     8import org.openstreetmap.josm.data.PreferencesUtils;
    99import org.openstreetmap.josm.spi.preferences.Config;
    1010import org.openstreetmap.josm.tools.Logging;
     
    8585            v = Config.getPref().get("osm-server.atomic-upload", null);
    8686            if (v != null) {
    87                 Main.pref.removeFromCollection("osm-server.atomic-upload", v);
     87                PreferencesUtils.removeFromCollection(Config.getPref(), "osm-server.atomic-upload", v);
    8888            } else {
    8989                v = "";
Note: See TracChangeset for help on using the changeset viewer.