Ignore:
Timestamp:
2017-04-16T14:42:27+02:00 (7 years ago)
Author:
Don-vip
Message:

improve unit tests, javadoc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/event/ChangesetIdChangedEvent.java

    r5170 r11928  
    1313    private final int newChangesetId;
    1414
     15    /**
     16     * Constructs a new {@code ChangesetIdChangedEvent}.
     17     * @param dataSet the dataset from which the event comes from
     18     * @param primitives list of affected primitives
     19     * @param oldChangesetId old changeset id
     20     * @param newChangesetId new changeset id
     21     */
    1522    public ChangesetIdChangedEvent(DataSet dataSet, List<OsmPrimitive> primitives, int oldChangesetId, int newChangesetId) {
    1623        super(dataSet);
     
    3542    }
    3643
     44    /**
     45     * Returns the old changeset id.
     46     * @return the old changeset id
     47     */
    3748    public int getOldChangesetId() {
    3849        return oldChangesetId;
    3950    }
    4051
     52    /**
     53     * Returns the new changeset id.
     54     * @return the new changeset id
     55     */
    4156    public int getNewChangesetId() {
    4257        return newChangesetId;
Note: See TracChangeset for help on using the changeset viewer.