- Timestamp:
- 2016-06-15T11:31:38+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/Preferences.java
r10378 r10380 507 507 * @throws IOException if any I/O error occurs 508 508 */ 509 public void save() throws IOException {509 public synchronized void save() throws IOException { 510 510 save(getPreferenceFile(), 511 511 new FilteredCollection<>(settingsMap.entrySet(), NO_DEFAULT_SETTINGS_ENTRY), false); 512 512 } 513 513 514 public void saveDefaults() throws IOException {514 public synchronized void saveDefaults() throws IOException { 515 515 save(getDefaultsCacheFile(), defaultsMap.entrySet(), true); 516 516 } 517 517 518 p ublicvoid save(File prefFile, Collection<Entry<String, Setting<?>>> settings, boolean defaults) throws IOException {518 protected void save(File prefFile, Collection<Entry<String, Setting<?>>> settings, boolean defaults) throws IOException { 519 519 520 520 if (!defaults) {
Note:
See TracChangeset
for help on using the changeset viewer.