Ignore:
Timestamp:
2015-05-04T23:24:14+02:00 (9 years ago)
Author:
Don-vip
Message:

squid:S1133 - remove deprecated code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/Preferences.java

    r8315 r8324  
    535535
    536536    /**
    537      * Returns the location of the user defined preferences directory
    538      * @return The location of the user defined preferences directory
    539      * @deprecated use #getPreferencesDirectory() to access preferences directory
    540      * or #getUserDataDirectory to access user data directory
    541      */
    542     @Deprecated
    543     public String getPreferencesDir() {
    544         final String path = getPreferencesDirectory().getPath();
    545         if (path.endsWith(File.separator))
    546             return path;
    547         return path + File.separator;
    548     }
    549 
    550     /**
    551537     * Returns the user defined preferences directory, containing the preferences.xml file
    552538     * @return The user defined preferences directory, containing the preferences.xml file
     
    16951681                                 val += "&zip=1";
    16961682                                 modified = true;
    1697                                  
     1683
    16981684                             }
    16991685                             newmap.put(mkey, val);
Note: See TracChangeset for help on using the changeset viewer.