Changeset 5362 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2012-07-25T14:07:37+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/Version.java
r5266 r5362 68 68 private String releaseDescription; 69 69 private String time; 70 private String buildName; 70 71 private boolean isLocalBuild; 71 72 … … 131 132 } 132 133 134 // is this a specific build ? 135 // 136 buildName = null; 137 value = properties.get("Build-Name"); 138 if (value != null && !value.trim().isEmpty()) { 139 buildName = value.trim(); 140 } 141 133 142 // the revision info 134 143 // … … 199 208 int v = getVersion(); 200 209 String s = (v == JOSM_UNKNOWN_VERSION) ? "UNKNOWN" : Integer.toString(v); 210 if (buildName != null) { 211 s += " " + buildName; 212 } 201 213 if (isLocalBuild() && v != JOSM_UNKNOWN_VERSION) { 202 214 s += " SVN";
Note:
See TracChangeset
for help on using the changeset viewer.