Changeset 4259 in josm for trunk/src/org/openstreetmap/josm/data/Version.java
- Timestamp:
- 2011-07-20T16:04:43+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/Version.java
r4237 r4259 66 66 67 67 private int version; 68 private String re vision;68 private String releaseDescription; 69 69 private String time; 70 70 private boolean isLocalBuild; … … 96 96 protected void initFromRevisionInfo(String revisionInfo) { 97 97 if (revisionInfo == null) { 98 this.re vision = tr("UNKNOWN");98 this.releaseDescription = tr("UNKNOWN"); 99 99 this.version = JOSM_UNKNOWN_VERSION; 100 100 this.time = null; … … 137 137 sb.append(property.getKey()).append(":").append(property.getValue()).append("\n"); 138 138 } 139 re vision = sb.toString();139 releaseDescription = sb.toString(); 140 140 } 141 141 … … 145 145 System.err.println(tr("Warning: the revision file ''/REVISION'' is missing.")); 146 146 version = 0; 147 re vision = "";147 releaseDescription = ""; 148 148 return; 149 149 } 150 150 initFromRevisionInfo(loadResourceFile(u)); 151 System.out.println(revision);152 151 } 153 152 … … 168 167 */ 169 168 public String getReleaseAttributes() { 170 return re vision;169 return releaseDescription; 171 170 } 172 171
Note:
See TracChangeset
for help on using the changeset viewer.
