Changeset 30737 in osm for applications/editors/josm/plugins/videomapping/src
- Timestamp:
- 2014-10-18T23:07:52+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/VideoPositionLayer.java
r30639 r30737 59 59 //make a flat copy 60 60 private List<WayPoint> importGPSLayer(GpxData gps) { 61 LinkedList<WayPoint> ls = new LinkedList< WayPoint>();61 LinkedList<WayPoint> ls = new LinkedList<>(); 62 62 for (GpxTrack trk : gps.tracks) { 63 63 for (GpxTrackSegment segment : trk.getSegments()) { -
applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/video/GPSVideoPlayer.java
r30639 r30737 24 24 public GPSVideoPlayer(DateFormat videoTimeFormat,VideoPositionLayer videoPositionLayer) throws HeadlessException { 25 25 super(videoTimeFormat); 26 videos = new LinkedList< GPSVideo>();26 videos = new LinkedList<>(); 27 27 this.videoPositionLayer=videoPositionLayer; 28 28 videoPositionLayer.setGPSVideoPlayer(this); -
applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/video/VideoPlayer.java
r30639 r30737 56 56 videoengine=new VideoEngine(this); 57 57 videoengine.addObserver(this); 58 observers=new LinkedList< VideoPlayerObserver>();58 observers=new LinkedList<>(); 59 59 addObserver(this); 60 60 //setup GUI … … 159 159 speed.setPaintTicks(true); 160 160 speed.setOrientation(Adjustable.VERTICAL); 161 Hashtable<Integer, JLabel> labelTable = new Hashtable< Integer, JLabel>();161 Hashtable<Integer, JLabel> labelTable = new Hashtable<>(); 162 162 labelTable.put( new Integer( 100 ), new JLabel("1x") ); 163 163 labelTable.put( new Integer( 50 ), new JLabel("-2x") );
Note:
See TracChangeset
for help on using the changeset viewer.