Changeset 30737 in osm for applications/editors/josm/plugins/smed/src/panels/PanelSpec.java
- Timestamp:
- 2014-10-18T23:07:52+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/src/panels/PanelSpec.java
r30532 r30737 18 18 public JLabel categoryLabel; 19 19 public JComboBox<String> categoryBox; 20 public EnumMap<Cat, Integer> categories = new EnumMap< Cat, Integer>(Cat.class);20 public EnumMap<Cat, Integer> categories = new EnumMap<>(Cat.class); 21 21 private ActionListener alCategoryBox = new ActionListener() { 22 22 public void actionPerformed(java.awt.event.ActionEvent e) { … … 29 29 }; 30 30 public JComboBox<String> mooringBox; 31 public EnumMap<Cat, Integer> moorings = new EnumMap< Cat, Integer>(Cat.class);31 public EnumMap<Cat, Integer> moorings = new EnumMap<>(Cat.class); 32 32 private ActionListener alMooringBox = new ActionListener() { 33 33 public void actionPerformed(java.awt.event.ActionEvent e) { … … 62 62 public JRadioButton stakeButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/StakeButton.png"))); 63 63 public JRadioButton cairnButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/CairnButton.png"))); 64 public EnumMap<Shp, JRadioButton> shapes = new EnumMap< Shp, JRadioButton>(Shp.class);65 public EnumMap<Shp, Obj> objects = new EnumMap< Shp, Obj>(Shp.class);64 public EnumMap<Shp, JRadioButton> shapes = new EnumMap<>(Shp.class); 65 public EnumMap<Shp, Obj> objects = new EnumMap<>(Shp.class); 66 66 public ActionListener alShape = new ActionListener() { 67 67 public void actionPerformed(java.awt.event.ActionEvent e) {
Note:
See TracChangeset
for help on using the changeset viewer.
