Changeset 3549 in josm
- Timestamp:
- 2010-09-19T22:40:14+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/Preferences.java
r3548 r3549 647 647 for(String k : keys) { 648 648 try { 649 Integer.valueOf(k.substring(l));650 changed |= put(k, null);649 Integer.valueOf(k.substring(l)); 650 changed |= put(k, null); 651 651 } catch(NumberFormatException e) { 652 e.printStackTrace();652 /* everything which does not end with a number should not be deleted */ 653 653 } 654 654 } … … 667 667 for(String k : keys) { 668 668 try { 669 Integer.valueOf(k.substring(l));670 defaults.remove(k);669 Integer.valueOf(k.substring(l)); 670 defaults.remove(k); 671 671 } catch(Exception e) { 672 /* everything which does not end with a number should not be deleted */ 672 673 } 673 674 }
Note:
See TracChangeset
for help on using the changeset viewer.