Changeset 2561 in josm


Ignore:
Timestamp:
2009-12-01T21:37:23+01:00 (9 years ago)
Author:
jttt
Message:

Applied #4059 by mjulius - Relation history window does not show up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/history/RelationMember.java

    r2512 r2561  
    2121     * @param role  the role
    2222     * @param primitiveType  the type (must not be null)
    23      * @param primitiveId the id (>0 required)
     23     * @param primitiveId the id
    2424     *
    2525     * @exception IllegalArgumentException thrown, if primitiveType is null
    26      * @exception IllegalArgumentException thrown, if primitiveId <= 0
    2726     */
    2827    public RelationMember(String role, OsmPrimitiveType primitiveType, long primitiveId) {
     
    3130            throw new IllegalArgumentException(tr("Parameter ''{0}'' must not be null.", "primitiveType"));
    3231        this.primitiveType = primitiveType;
    33         if (primitiveId <=0)
    34             throw new IllegalArgumentException(tr("Parameter ''{0}'' > 0 expected. Got ''{1}''.", "primitiveId", primitiveId));
    3532        this.primitiveId = primitiveId;
    3633    }
Note: See TracChangeset for help on using the changeset viewer.