Ignore:
Timestamp:
2014-07-14T04:18:06+02:00 (10 years ago)
Author:
donvip
Message:

[josm_plugins] fix compilation warnings

File:
1 edited

Legend:

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

    r23190 r30532  
    3232public class CheckSourceUploadHook implements UploadHook
    3333{
    34     /** Serializable ID */
    35     private static final long serialVersionUID = -1;
    3634
    3735    /**
     
    8280            JTextField tf = new JTextField(CadastrePlugin.source);
    8381            p.add(tf, GBC.eol());
    84             JList l = new JList(sel.toArray());
     82            JList<OsmPrimitive> l = new JList<>(sel.toArray(new OsmPrimitive[0]));
    8583            l.setCellRenderer(renderer);
    8684            l.setVisibleRowCount(l.getModel().getSize() < 6 ? l.getModel().getSize() : 10);
     
    9189                Main.main.undoRedo.add(new ChangePropertyCommand(sel, "source", tf.getText()));
    9290        }
    93 
    9491    }
    9592}
    96 
Note: See TracChangeset for help on using the changeset viewer.