Changeset 30737 in osm for applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge
- Timestamp:
- 2014-10-18T23:07:52+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/GameWindow.java
r29854 r30737 94 94 addActionListener(this); 95 95 96 trackSegs = new ArrayList< Collection<WayPoint>>();96 trackSegs = new ArrayList<>(); 97 97 } 98 98 … … 113 113 114 114 /* Start recording */ 115 segment = new ArrayList< WayPoint>();115 segment = new ArrayList<>(); 116 116 trackSegs.add(segment); 117 117 actionPerformed(null); … … 233 233 protected int current_car = 0; 234 234 protected boolean cacti_on = true; 235 protected List<EastNorth> cacti = new ArrayList< EastNorth>();236 protected List<EastNorth> todelete = new ArrayList< EastNorth>();235 protected List<EastNorth> cacti = new ArrayList<>(); 236 protected List<EastNorth> todelete = new ArrayList<>(); 237 237 protected int splashframe = -1; 238 238 protected EastNorth splashcactus; … … 337 337 } 338 338 cacti.removeAll(todelete); 339 todelete = new ArrayList< EastNorth>();339 todelete = new ArrayList<>(); 340 340 } 341 341 } … … 673 673 cacti_on = !cacti_on; 674 674 if (!cacti_on) 675 cacti = new ArrayList< EastNorth>();675 cacti = new ArrayList<>(); 676 676 } 677 677
Note:
See TracChangeset
for help on using the changeset viewer.