Ignore:
Timestamp:
2013-08-11T21:23:19+02:00 (11 years ago)
Author:
Don-vip
Message:

see #8902 - fix compilation warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetItems.java

    r6114 r6142  
    578578                    try {
    579579                        // TODO there must be a better way to parse a number like "+3" than this.
    580                         final int buttonvalue = ((Number)NumberFormat.getIntegerInstance().parse(ai.replace("+", ""))).intValue();
     580                        final int buttonvalue = (NumberFormat.getIntegerInstance().parse(ai.replace("+", ""))).intValue();
    581581                        if (auto_increment_selected == buttonvalue) aibutton.setSelected(true);
    582582                        aibutton.addActionListener(new ActionListener() {
Note: See TracChangeset for help on using the changeset viewer.