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

    r30034 r30532  
    545545                if (rowIndex == -1 || colIndex == -1)
    546546                    return null;
    547                 int realColumnIndex = convertColumnIndexToModel(colIndex);
     547                //int realColumnIndex = convertColumnIndexToModel(colIndex);
    548548                return (String) getValueAt(rowIndex, colIndex);
    549549            }
     
    623623                    List<String> values = new ArrayList<String>();
    624624                    List<String> conditions = new ArrayList<String>();
    625                     String ident;
     625                    //String ident;
    626626                    public TagEvaluater(Tag t) {
    627627                        key = t.key.evaluate(env);
    628628                        default_value = t.value.evaluate(env);
    629                         ident = t.ident;
     629                        //ident = t.ident;
    630630                    }
    631631
     
    858858
    859859        private List<PresetMetaData> presetsData;
    860         private JComboBox selectionBox;
     860        private JComboBox<PresetMetaData> selectionBox;
    861861        JRadioButton rbAll, rbUseful;
    862862
     
    865865            presetsData = RoadSignsPlugin.getAvailablePresetsMetaData();
    866866
    867             selectionBox = new JComboBox(presetsData.toArray());
     867            selectionBox = new JComboBox<>(presetsData.toArray(new PresetMetaData[0]));
    868868            String code = Main.pref.get("plugin.roadsigns.preset.selection", null);
    869869            if (code != null) {
Note: See TracChangeset for help on using the changeset viewer.