Changeset 30737 in osm for applications/editors/josm/plugins/photoadjust/src/org
- Timestamp:
- 2014-10-18T23:07:52+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/PhotoAdjustMapMode.java
r30428 r30737 213 213 */ 214 214 private List<GeoImageLayer> getVisibleGeoImageLayers() { 215 List<GeoImageLayer> all = new ArrayList< GeoImageLayer>(Main.map.mapView.getLayersOfType(GeoImageLayer.class));215 List<GeoImageLayer> all = new ArrayList<>(Main.map.mapView.getLayersOfType(GeoImageLayer.class)); 216 216 Iterator<GeoImageLayer> it = all.iterator(); 217 217 while (it.hasNext()) { -
applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/PhotoAdjustPlugin.java
r30130 r30737 49 49 public void mousePressed(MouseEvent evt) { 50 50 if (imageLayer != null) { 51 List<GeoImageLayer> layers = new ArrayList< GeoImageLayer>(1);51 List<GeoImageLayer> layers = new ArrayList<>(1); 52 52 layers.add(imageLayer); 53 53 worker.doMousePressed(evt, layers); -
applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/UntaggedGeoImageLayerAction.java
r30428 r30737 41 41 GeoImageLayer layer = getSelectedLayer(); 42 42 if (layer != null) { 43 List<ImageEntry> untagged = new ArrayList< ImageEntry>();43 List<ImageEntry> untagged = new ArrayList<>(); 44 44 List<ImageEntry> images = layer.getImages(); 45 45 ImageEntry img;
Note:
See TracChangeset
for help on using the changeset viewer.