Changeset 11899 in josm for trunk/src/org/openstreetmap/josm


Ignore:
Timestamp:
2017-04-13T22:40:03+02:00 (3 years ago)
Author:
Don-vip
Message:

fix #14646 - extra space in JOSM user agent since r11889 (regression)

File:
1 edited

Legend:

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

    r11889 r11899  
    178178        int v = getVersion();
    179179        String s = (v == JOSM_UNKNOWN_VERSION) ? "UNKNOWN" : Integer.toString(v);
    180         if (buildName != null) {
     180        if (buildName != null && !buildName.isEmpty()) {
    181181            s += ' ' + buildName;
    182182        }
Note: See TracChangeset for help on using the changeset viewer.