Changeset 5160 in josm for trunk


Ignore:
Timestamp:
2012-04-03T09:17:45+02:00 (8 years ago)
Author:
simon04
Message:

fix #7570 - IllegalArgumentException when selecting a multipolygon

File:
1 edited

Legend:

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

    r5159 r5160  
    123123                    return CLOSEDWAY;
    124124                case RELATION:
     125                case MULTIPOLYGON:
    125126                    return RELATION;
    126127                default:
    127                     throw new IllegalArgumentException();
     128                    throw new IllegalArgumentException("Unexpected primitive type: " + type);
    128129            }
    129130        }
Note: See TracChangeset for help on using the changeset viewer.