Changeset 30737 in osm for applications/editors/josm/plugins/piclayer/src/org
- Timestamp:
- 2014-10-18T23:07:52+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/PicLayerPlugin.java
r30356 r30737 100 100 // Create plugin buttons and add them to the toolbar 101 101 102 buttonList = new ArrayList< IconToggleButton>(7);102 buttonList = new ArrayList<>(7); 103 103 buttonList.add(picLayerActionButtonFactory(movePictureAction)); 104 104 buttonList.add(picLayerActionButtonFactory(movePointAction)); -
applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/actions/newlayer/NewLayerFromFileAction.java
r30356 r30737 60 60 61 61 public ImageFileFilter() { 62 List<String> extensions = new ArrayList< String>();62 List<String> extensions = new ArrayList<>(); 63 63 extensions.add("zip"); 64 64 extensions.add("kml"); -
applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/layer/kml/KMLReader.java
r27233 r30737 52 52 53 53 public KMLHandler() { 54 result = new ArrayList< KMLGroundOverlay>();54 result = new ArrayList<>(); 55 55 } 56 56 -
applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/transform/PictureTransform.java
r30356 r30737 27 27 public PictureTransform() { 28 28 cachedTransform = new AffineTransform(); 29 originPoints = new ArrayList< Point2D>(3);29 originPoints = new ArrayList<>(3); 30 30 } 31 31 … … 73 73 case 2: { 74 74 // find triangle and move it 75 List<Point2D> desiredPoints = new ArrayList< Point2D>(3);75 List<Point2D> desiredPoints = new ArrayList<>(3); 76 76 Point2D o1 = originPoints.get(0); 77 77 Point2D o2 = originPoints.get(1); … … 93 93 } 94 94 case 3: { 95 List<Point2D> desiredPoints = new ArrayList< Point2D>(3);95 List<Point2D> desiredPoints = new ArrayList<>(3); 96 96 97 97 for (Point2D origin : originPoints) { … … 185 185 186 186 public void setOriginPoints(List<Point2D> list) { 187 this.originPoints = new ArrayList< Point2D>(list);187 this.originPoints = new ArrayList<>(list); 188 188 } 189 189
Note:
See TracChangeset
for help on using the changeset viewer.