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

[josm_plugins] fix Java 7 / unused code warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/poly/src/poly/PolyImporter.java

    r30495 r30737  
    7272        if( name == null || name.trim().length() == 0 )
    7373            throw new IllegalDataException(tr("The file must begin with a polygon name"));
    74         List<Area> areas = new ArrayList<Area>();
     74        List<Area> areas = new ArrayList<>();
    7575        Area area = null;
    7676        boolean parsingSection = false;
     
    177177            if( !outer )
    178178                this.name = this.name.substring(1);
    179             nodes = new ArrayList<LatLon>();
     179            nodes = new ArrayList<>();
    180180            way = null;
    181181            polygonName = null;
Note: See TracChangeset for help on using the changeset viewer.