Changeset 8324 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2015-05-04T23:24:14+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/Preferences.java
r8315 r8324 535 535 536 536 /** 537 * Returns the location of the user defined preferences directory538 * @return The location of the user defined preferences directory539 * @deprecated use #getPreferencesDirectory() to access preferences directory540 * or #getUserDataDirectory to access user data directory541 */542 @Deprecated543 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 /**551 537 * Returns the user defined preferences directory, containing the preferences.xml file 552 538 * @return The user defined preferences directory, containing the preferences.xml file … … 1695 1681 val += "&zip=1"; 1696 1682 modified = true; 1697 1683 1698 1684 } 1699 1685 newmap.put(mkey, val);
Note:
See TracChangeset
for help on using the changeset viewer.