Changeset 16628 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2020-06-14T14:55:29+02:00 (4 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/CombineWayAction.java
r16438 r16628 260 260 if (list.size() == 1) { 261 261 // ways form a single line string 262 return new ArrayList<>(list.iterator().next().getNodes());262 return Collections.unmodifiableList(new ArrayList<>(list.iterator().next().getNodes())); 263 263 } 264 264 return Collections.emptyList(); -
trunk/src/org/openstreetmap/josm/actions/OpenLocationAction.java
r16505 r16628 283 283 } 284 284 } 285 return result;285 return Collections.unmodifiableList(result); 286 286 } 287 287 -
trunk/src/org/openstreetmap/josm/actions/corrector/TagCorrector.java
r15586 r16628 211 211 } else if (answer != JOptionPane.NO_OPTION) 212 212 throw new UserCancelException(); 213 return commands;213 return Collections.unmodifiableCollection(commands); 214 214 } 215 215 -
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java
r16553 r16628 409 409 rels.stream().filter(r -> !dataSet.containsRelation(r)).forEachOrdered(col::add); 410 410 } 411 return col;411 return Collections.unmodifiableCollection(col); 412 412 } 413 413 }
Note:
See TracChangeset
for help on using the changeset viewer.