Ignore:
Timestamp:
2014-10-18T23:07:52+02:00 (10 years ago)
Author:
donvip
Message:

[josm_plugins] fix Java 7 / unused code warnings

Location:
applications/editors/josm/plugins/imagewaypoint/src/org/insignificant/josm/plugins/imagewaypoint
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/imagewaypoint/src/org/insignificant/josm/plugins/imagewaypoint/ImageEntries.java

    r14122 r30737  
    3939
    4040    private ImageEntries() {
    41         this.images = new ArrayList<ImageEntry>();
    42         this.locatedImages = new ArrayList<ImageEntry>();
    43         this.listeners = new ArrayList<IImageChangeListener>();
     41        this.images = new ArrayList<>();
     42        this.locatedImages = new ArrayList<>();
     43        this.listeners = new ArrayList<>();
    4444        this.listener = new ImageReadyListener(this);
    4545
     
    112112    private final List<String> getTextContentsFromWayPoint(
    113113    final WayPoint wayPoint) {
    114     final List<String> texts = new ArrayList<String>();
     114    final List<String> texts = new ArrayList<>();
    115115    for(String s : new String[]{"name", "cmt", "desc"})
    116116    {
  • applications/editors/josm/plugins/imagewaypoint/src/org/insignificant/josm/plugins/imagewaypoint/ImageWayPointPlugin.java

    r29803 r30737  
    6060           
    6161                // recursively find all files
    62                 final List<File> allFiles = new ArrayList<File>();
     62                final List<File> allFiles = new ArrayList<>();
    6363                addFiles(allFiles, files.toArray(new File[0]));
    6464
Note: See TracChangeset for help on using the changeset viewer.