Changeset 9678 in josm for trunk/src/org
- Timestamp:
- 2016-01-29T22:36:27+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Tag.java
r9649 r9678 12 12 13 13 /** 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> 18 16 * It implements the {@link Tagged} interface. However, since instances of this class are immutable, 19 17 * the modifying methods throw an {@link UnsupportedOperationException}. -
trunk/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java
r9674 r9678 139 139 /** 140 140 * Returns list of recently closed relations or null if none. 141 * @return list of recently closed relations or null if none 141 142 */ 142 143 public ArrayList<Relation> getRecentRelations() { … … 146 147 } 147 148 149 /** 150 * Sets list of recently closed relations. 151 * @param relation list of recently closed relations 152 */ 148 153 public void setRecentRelation(Relation relation) { 149 154 recentRelations.put(relation, null); … … 151 156 } 152 157 158 /** 159 * Remove relation from list of recent relations. 160 * @param relation relation to remove 161 */ 153 162 public void removeRecentRelation(Relation relation) { 154 163 recentRelations.remove(relation);
Note:
See TracChangeset
for help on using the changeset viewer.