Changeset 17482 in josm


Ignore:
Timestamp:
2021-01-28T01:48:54+01:00 (3 months ago)
Author:
Don-vip
Message:

see #7548 - remove deprecated MapPreference

Location:
trunk
Files:
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/PreferenceTabbedPane.java

    r17424 r17482  
    5757import org.openstreetmap.josm.gui.preferences.map.BackupPreference;
    5858import org.openstreetmap.josm.gui.preferences.map.MapPaintPreference;
    59 import org.openstreetmap.josm.gui.preferences.map.MapPreference;
    6059import org.openstreetmap.josm.gui.preferences.map.TaggingPresetPreference;
    6160import org.openstreetmap.josm.gui.preferences.plugin.PluginPreference;
     
    387386
    388387    /**
    389      * Returns the {@code MapPreference} object.
    390      * @return the {@code MapPreference} object.
    391      * @deprecated to remove beginning of 2021
    392      */
    393     @Deprecated
    394     public MapPreference getMapPreference() {
    395         return getSetting(MapPreference.class);
    396     }
    397 
    398     /**
    399388     * Returns the {@code PluginPreference} object.
    400389     * @return the {@code PluginPreference} object.
     
    619608        SETTINGS_FACTORIES.add(new ServerAccessPreference.Factory());
    620609        SETTINGS_FACTORIES.add(new ProxyPreference.Factory());
    621         SETTINGS_FACTORIES.add(new MapPreference.Factory());
    622610        SETTINGS_FACTORIES.add(new ProjectionPreference.Factory());
    623611        SETTINGS_FACTORIES.add(new MapPaintPreference.Factory());
Note: See TracChangeset for help on using the changeset viewer.