Ignore:
Timestamp:
2014-04-26T03:53:35+02:00 (10 years ago)
Author:
Don-vip
Message:

see #8465 - switch core to Java 7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/plugin/PluginPreference.java

    r6797 r7001  
    491491    private static class PluginConfigurationSitesPanel extends JPanel {
    492492
    493         private DefaultListModel model;
     493        private DefaultListModel<String> model;
    494494
    495495        protected final void build() {
    496496            setLayout(new GridBagLayout());
    497497            add(new JLabel(tr("Add JOSM Plugin description URL.")), GBC.eol());
    498             model = new DefaultListModel();
     498            model = new DefaultListModel<String>();
    499499            for (String s : Main.pref.getPluginSites()) {
    500500                model.addElement(s);
    501501            }
    502             final JList list = new JList(model);
     502            final JList<String> list = new JList<String>(model);
    503503            add(new JScrollPane(list), GBC.std().fill());
    504504            JPanel buttons = new JPanel(new GridBagLayout());
Note: See TracChangeset for help on using the changeset viewer.