Changeset 9678 in josm for trunk/src/org


Ignore:
Timestamp:
2016-01-29T22:36:27+01:00 (9 years ago)
Author:
Don-vip
Message:

javadoc

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

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

    r9649 r9678  
    1212
    1313/**
    14  * Tag represents an immutable key/value-pair. Both the key and the value may
    15  * be empty, but not null.
    16  *
    17  * <p/>
     14 * Tag represents an immutable key/value-pair. Both the key and the value may be empty, but not null.
     15 * <p>
    1816 * It implements the {@link Tagged} interface. However, since instances of this class are immutable,
    1917 * the modifying methods throw an {@link UnsupportedOperationException}.
  • trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java

    r9674 r9678  
    139139    /**
    140140     * Returns list of recently closed relations or null if none.
     141     * @return list of recently closed relations or null if none
    141142     */
    142143    public ArrayList<Relation> getRecentRelations() {
     
    146147    }
    147148
     149    /**
     150     * Sets list of recently closed relations.
     151     * @param relation list of recently closed relations
     152     */
    148153    public void setRecentRelation(Relation relation) {
    149154        recentRelations.put(relation, null);
     
    151156    }
    152157
     158    /**
     159     * Remove relation from list of recent relations.
     160     * @param relation relation to remove
     161     */
    153162    public void removeRecentRelation(Relation relation) {
    154163        recentRelations.remove(relation);
Note: See TracChangeset for help on using the changeset viewer.