Ignore:
Timestamp:
2012-04-01T08:56:40+02:00 (12 years ago)
Author:
roland
Message:

Minor changes to compile with javac-1.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mirrored_download/src/mirrored_download/MirroredDownloadAction.java

    r28108 r28174  
    8888    static class MirroredDownloadDialog extends DownloadDialog {
    8989
    90         protected JComboBox<String> overpassType;
     90        protected JComboBox/*<String>*/ overpassType;
    9191        protected HistoryComboBox overpassQuery;
    9292        private static MirroredDownloadDialog instance;
     
    108108        @Override
    109109        protected void buildMainPanelAboveDownloadSelections(JPanel pnl) {
    110             overpassType = new JComboBox<String>(new String[]{"*", "node", "way", "relation"});
     110            overpassType = new JComboBox/*<String>*/(new String[]{"*", "node", "way", "relation"});
    111111            pnl.add(new JLabel(tr("Object type: ")), GBC.std().insets(5, 5, 5, 5));
    112112            pnl.add(overpassType, GBC.eol().fill(GridBagConstraints.HORIZONTAL));
     
    124124
    125125        public String getOverpassType() {
    126             return overpassType.getItemAt(overpassType.getSelectedIndex());
     126            return (String)overpassType.getItemAt(overpassType.getSelectedIndex());
    127127        }
    128128
Note: See TracChangeset for help on using the changeset viewer.