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

[josm_plugins] fix Java 7 / unused code warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/WMSLayer.java

    r29922 r30737  
    5454            CadastrePlugin.class.getResource("/images/cadastre_small.png")));
    5555
    56     private Vector<GeorefImage> images = new Vector<GeorefImage>();
     56    private Vector<GeorefImage> images = new Vector<>();
    5757
    5858    public Lock imagesLock = new ReentrantLock();
     
    6767    public static int currentFormat;
    6868
    69     private ArrayList<EastNorthBound> dividedBbox = new ArrayList<EastNorthBound>();
     69    private ArrayList<EastNorthBound> dividedBbox = new ArrayList<>();
    7070
    7171    private String location = "";
     
    540540            int oldImgWidth = images.get(0).image.getWidth();
    541541            int oldImgHeight = images.get(0).image.getHeight();
    542             HashSet<Double> lx = new HashSet<Double>();
    543             HashSet<Double> ly = new HashSet<Double>();
     542            HashSet<Double> lx = new HashSet<>();
     543            HashSet<Double> ly = new HashSet<>();
    544544            for (GeorefImage img : images) {
    545545                lx.add(img.min.east());
Note: See TracChangeset for help on using the changeset viewer.