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/importvec/src/org/openstreetmap/josm/plugins/importvec/SvgImportTask.java

    r29796 r30737  
    3939 */
    4040public class SvgImportTask extends PleaseWaitRunnable {
    41     LinkedList<Node> nodes = new LinkedList<Node>();
    42     LinkedList<Way> ways = new LinkedList<Way>();
     41    LinkedList<Node> nodes = new LinkedList<>();
     42    LinkedList<Way> ways = new LinkedList<>();
    4343    private List<File> files;
    4444    private boolean canceled;
     
    4646    public SvgImportTask(List<File> files) {
    4747        super(I18n.tr("Importing..."), false);
    48         this.files = new ArrayList<File>(files);
     48        this.files = new ArrayList<>(files);
    4949    }
    5050
     
    184184            throw new IOException(e);
    185185        }
    186         LinkedList<Command> cmds = new LinkedList<Command>();
     186        LinkedList<Command> cmds = new LinkedList<>();
    187187        for (Node n : nodes) {
    188188            cmds.add(new AddCommand(n));
Note: See TracChangeset for help on using the changeset viewer.