Changeset 1924 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2009-08-07T23:22:31+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
r1899 r1924 236 236 /** 237 237 * The key/value list for this primitive. 238 */ 238 * @deprecated This field will became private or protected in future, use api instead 239 */ 240 @Deprecated 239 241 public Map<String, String> keys; 242 243 /** 244 * 245 * @return Keys of this primitive. Changes made in returned map are not mapped 246 * back to the primitive, use setKeys() to modify the keys 247 * @since 1924 248 */ 249 public Map<String, String> getKeys() { 250 // TODO More effective map 251 return new HashMap<String, String>(keys); 252 } 253 254 /** 255 * 256 * @since 1924 257 */ 258 public void setKeys(Map<String, String> keys) { 259 if (keys == null) { 260 this.keys = null; 261 } else { 262 this.keys = new HashMap<String, String>(keys); 263 } 264 } 240 265 241 266 /** … … 269 294 270 295 /** 271 * Added in revision 1843272 * Please do not use in plug-ins until this version becomes JOSM tested296 * 297 * @since 1843 273 298 */ 274 299 public final void removeAll() { … … 294 319 295 320 /** 296 * Added in revision 1843297 * Please do not use in plug-ins until this version becomes JOSM tested321 * 322 * @since 1843 298 323 */ 299 324 public final boolean hasKeys() {
Note:
See TracChangeset
for help on using the changeset viewer.
