Ignore:
Timestamp:
2017-11-28T00:56:29+01:00 (17 months ago)
Author:
Don-vip
Message:

see #15310 - remove most of deprecated APIs

File:
1 edited

Legend:

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

    r12881 r13173  
    4545import org.openstreetmap.josm.data.PreferencesUtils;
    4646import org.openstreetmap.josm.data.Version;
    47 import org.openstreetmap.josm.spi.preferences.Setting;
    4847import org.openstreetmap.josm.gui.MainApplication;
    4948import org.openstreetmap.josm.plugins.PluginDownloadTask;
     
    5150import org.openstreetmap.josm.plugins.ReadLocalPluginInformationTask;
    5251import org.openstreetmap.josm.spi.preferences.Config;
     52import org.openstreetmap.josm.spi.preferences.Setting;
    5353import org.openstreetmap.josm.tools.LanguageInfo;
    5454import org.openstreetmap.josm.tools.Logging;
     
    6969    private CustomConfigurator() {
    7070        // Hide default constructor for utils classes
    71     }
    72 
    73     /**
    74      * Log a formatted message.
    75      * @param fmt format
    76      * @param vars arguments
    77      * @see String#format
    78      * @deprecated to be removed end of 2017. Use {@link PreferencesUtils#log(String, Object...)} instead
    79      */
    80     @Deprecated
    81     public static void log(String fmt, Object... vars) {
    82         PreferencesUtils.log(fmt, vars);
    83     }
    84 
    85     /**
    86      * Log a message.
    87      * @param s message to log
    88      * @deprecated to be removed end of 2017. Use {@link PreferencesUtils#log(String)} instead
    89      */
    90     @Deprecated
    91     public static void log(String s) {
    92         PreferencesUtils.log(s);
    93     }
    94 
    95     /**
    96      * Log an exception.
    97      * @param e exception to log
    98      * @param s message prefix
    99      * @since 10469
    100      * @deprecated to be removed end of 2017. Use {@link PreferencesUtils#log(Exception, String)} instead
    101      */
    102     @Deprecated
    103     public static void log(Exception e, String s) {
    104         PreferencesUtils.log(e, s);
    105     }
    106 
    107     /**
    108      * Returns the log.
    109      * @return the log
    110      * @deprecated to be removed end of 2017. Use {@link PreferencesUtils#getLog()} instead
    111      */
    112     @Deprecated
    113     public static String getLog() {
    114         return PreferencesUtils.getLog();
    115     }
    116 
    117     /**
    118      * Resets the log.
    119      * @deprecated to be removed end of 2017. Use {@link PreferencesUtils#resetLog()} instead
    120      */
    121     @Deprecated
    122     public static void resetLog() {
    123         PreferencesUtils.resetLog();
    12471    }
    12572
Note: See TracChangeset for help on using the changeset viewer.