Changeset 7552 in josm for trunk/src


Ignore:
Timestamp:
2014-09-17T16:44:37+02:00 (5 years ago)
Author:
Don-vip
Message:

fix #7885 - IndexOutOfBoundsException in relation dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableModel.java

    r7551 r7552  
    467467            return;
    468468        for (int row : idx) {
     469            // fix #7885 - IndexOutOfBoundsException: Index: 39, Size: 39
     470            if (row >= members.size()) {
     471                continue;
     472            }
    469473            RelationMember oldMember = members.get(row);
    470474            RelationMember newMember = new RelationMember(role, oldMember.getMember());
Note: See TracChangeset for help on using the changeset viewer.