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

Minor changes to compile with javac-1.6.

Location:
applications/editors/josm/plugins/mirrored_download
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mirrored_download/build.xml

    r28108 r28174  
    2626    <!-- this is the directory where the plugin jar is copied to -->
    2727    <property name="plugin.dist.dir" value="${josm.basedir}/dist"/>
    28     <property name="ant.build.javac.target" value="1.5"/>
     28    <property name="ant.build.javac.target" value="1.6"/>
    2929    <property name="plugin.dist.dir" value="${josm.basedir}/dist"/>
    3030    <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
  • 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.