Ignore:
Timestamp:
2011-07-20T16:04:43+02:00 (15 years ago)
Author:
bastiK
Message:

see #5906 - start option --version

File:
1 edited

Legend:

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

    r4237 r4259  
    6666
    6767    private int version;
    68     private String revision;
     68    private String releaseDescription;
    6969    private String time;
    7070    private boolean isLocalBuild;
     
    9696    protected void initFromRevisionInfo(String revisionInfo) {
    9797        if (revisionInfo == null) {
    98             this.revision = tr("UNKNOWN");
     98            this.releaseDescription = tr("UNKNOWN");
    9999            this.version = JOSM_UNKNOWN_VERSION;
    100100            this.time = null;
     
    137137            sb.append(property.getKey()).append(":").append(property.getValue()).append("\n");
    138138        }
    139         revision = sb.toString();
     139        releaseDescription = sb.toString();
    140140    }
    141141
     
    145145            System.err.println(tr("Warning: the revision file ''/REVISION'' is missing."));
    146146            version = 0;
    147             revision = "";
     147            releaseDescription = "";
    148148            return;
    149149        }
    150150        initFromRevisionInfo(loadResourceFile(u));
    151         System.out.println(revision);
    152151    }
    153152
     
    168167     */
    169168    public String getReleaseAttributes() {
    170         return revision;
     169        return releaseDescription;
    171170    }
    172171
Note: See TracChangeset for help on using the changeset viewer.