Changeset 9618 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2016-01-24T21:30:11+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/Preferences.java
r9617 r9618 1418 1418 if (evalue instanceof Collection) { 1419 1419 JsonArrayBuilder a = Json.createArrayBuilder(); 1420 for (Object evo : (Collection)evalue) {1420 for (Object evo: (Collection) evalue) { 1421 1421 a.add(evo.toString()); 1422 1422 } … … 1440 1440 JsonValue value = e.getValue(); 1441 1441 if (value instanceof JsonArray) { 1442 List 1443 for (JsonString js: ((JsonArray)value).getValuesAs(JsonString.class)) {1442 List<String> finalList = new ArrayList<String>(); 1443 for (JsonString js: ((JsonArray) value).getValuesAs(JsonString.class)) { 1444 1444 finalList.add(js.getString()); 1445 1445 } -
trunk/src/org/openstreetmap/josm/data/osm/DataSet.java
r9067 r9618 1253 1253 try { 1254 1254 if (cleanupDeleted(nodes.iterator()) 1255 | cleanupDeleted(ways.iterator())1256 | cleanupDeleted(relations.iterator())) {1255 || cleanupDeleted(ways.iterator()) 1256 || cleanupDeleted(relations.iterator())) { 1257 1257 fireSelectionChanged(); 1258 1258 }
Note:
See TracChangeset
for help on using the changeset viewer.