- Timestamp:
- 2021-07-18T23:03:55+02:00 (3 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/MainLayerManager.java
r18010 r18069 556 556 result.add(((GpxLayer) layer).data); 557 557 } else if (layer instanceof GeoImageLayer) { 558 result.add(((GeoImageLayer) layer).getFauxGpx Layer().data);558 result.add(((GeoImageLayer) layer).getFauxGpxData()); 559 559 } 560 560 } -
trunk/src/org/openstreetmap/josm/io/IGpxReader.java
r14010 r18069 5 5 6 6 import org.openstreetmap.josm.data.gpx.GpxData; 7 import org.openstreetmap.josm.io.rtklib.RtkLibPosReader; 7 8 import org.xml.sax.SAXException; 8 9 9 10 /** 10 * Abstraction of {@code GpxReader} and {@code NmeaReader}.11 * Abstraction of {@code GpxReader}, {@code NmeaReader} and {@link RtkLibPosReader} 11 12 * @since 14010 12 13 */ -
trunk/src/org/openstreetmap/josm/io/session/GeoImageSessionExporter.java
r17733 r18069 12 12 import javax.swing.SwingConstants; 13 13 14 import org.openstreetmap.josm.gui.layer.GpxLayer; 14 15 import org.openstreetmap.josm.gui.layer.Layer; 15 16 import org.openstreetmap.josm.gui.layer.geoimage.GeoImageLayer; … … 35 36 @Override 36 37 public Collection<Layer> getDependencies() { 37 if (layer.getGpxLayer() != null) 38 return Collections.singleton((Layer) layer.getGpxLayer()); 39 else 40 return Collections.emptySet(); 38 GpxLayer gpxLayer = layer.getGpxLayer(); 39 return gpxLayer != null ? Collections.singleton(gpxLayer) : Collections.emptySet(); 41 40 } 42 41
Note:
See TracChangeset
for help on using the changeset viewer.