Changeset 28411 in osm for applications/viewer/jmapviewer/src/org
- Timestamp:
- 2012-05-28T12:45:37+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/Tile.java
r24967 r28411 282 282 } 283 283 284 /** 285 * Puts the given key/value pair to the metadata of the tile. 286 * If value is null, the (possibly existing) key/value pair is removed from 287 * the meta data. 288 * 289 * @param key 290 * @param value 291 */ 284 292 public void putValue(String key, String value) { 285 if (value == null || "".equals(value)) {293 if (value == null || value.isEmpty()) { 286 294 if (metadata != null) { 287 295 metadata.remove(key);
Note:
See TracChangeset
for help on using the changeset viewer.