Changeset 18051 in josm for trunk/src/org
- Timestamp:
- 2021-07-17T17:24:53+02:00 (3 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/RestorePropertyAction.java
r17996 r18051 56 56 57 57 Map<String, String> changes = TableHelper.selectedIndices(selectionModel).boxed() 58 .collect(HashMap::new, (m, i)->m.put(keyFn.apply(i), valueFn.apply(i)), HashMap::putAll);58 .collect(HashMap::new, (m, i) -> m.put(keyFn.apply(i), valueFn.apply(i)), HashMap::putAll); 59 59 ChangePropertyCommand command = new ChangePropertyCommand(Collections.singleton(primitive), changes); 60 60 UndoRedoHandler.getInstance().add(command); -
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImagesLoader.java
r18035 r18051 42 42 /** 43 43 * Constructs a new {@code ImagesLoader}. 44 * @param selection 45 * @param gpxLayer 44 * @param selection image files to load 45 * @param gpxLayer associated GPX layer 46 46 */ 47 publicImagesLoader(Collection<File> selection, GpxLayer gpxLayer) {47 ImagesLoader(Collection<File> selection, GpxLayer gpxLayer) { 48 48 super(tr("Extracting GPS locations from EXIF")); 49 49 this.selection = selection; -
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/SynchronizeTimeFromPhotoDialog.java
r18045 r18051 59 59 * @param images list of image entries 60 60 */ 61 publicSynchronizeTimeFromPhotoDialog(Component parent, List<ImageEntry> images) {61 SynchronizeTimeFromPhotoDialog(Component parent, List<ImageEntry> images) { 62 62 super(parent, tr("Synchronize time from a photo of the GPS receiver"), tr("OK"), tr("Cancel")); 63 63 setButtonIcons("ok", "cancel"); -
trunk/src/org/openstreetmap/josm/gui/layer/gpx/GpxDataHelper.java
r18042 r18051 33 33 */ 34 34 public final class GpxDataHelper { 35 36 private GpxDataHelper() { 37 // Hide public constructor 38 } 35 39 36 40 /** -
trunk/src/org/openstreetmap/josm/io/GpxReader.java
r17984 r18051 133 133 @Override 134 134 public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException { 135 elements.push(new String[] { namespaceURI, localName, qName});135 elements.push(new String[] {namespaceURI, localName, qName}); 136 136 switch(currentState) { 137 137 case INIT:
Note:
See TracChangeset
for help on using the changeset viewer.