Ignore:
Timestamp:
2012-05-28T12:45:37+02:00 (12 years ago)
Author:
simon04
Message:

fix #josm7734 - documentation (patch by Locked)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/Tile.java

    r24967 r28411  
    282282    }
    283283
     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     */
    284292    public void putValue(String key, String value) {
    285         if (value == null || "".equals(value)) {
     293        if (value == null || value.isEmpty()) {
    286294            if (metadata != null) {
    287295                metadata.remove(key);
Note: See TracChangeset for help on using the changeset viewer.