Remove redundant parameter

This commit is contained in:
Dan Hawkins 2020-06-17 11:16:28 +01:00
commit b77403c92f

View file

@ -184,14 +184,14 @@ class BuildStampInfo extends GISJsonSerialised {
script.echo("Build stamp now ${buildstamp}")
}
void set(String buildstampprefix, int revision) {
void set(String buildstampprefix, int revision = 0) {
buildstampprefix += buildstampprefix.endsWith('.') ? '' : '.'
this.buildstampprefix = buildstampprefix
this.buildstamp = buildstampprefix + "0"
changerevision(revision)
}
void set(String buildstampprefix, String revision) {
void set(String buildstampprefix, String revision = '0') {
set(buildstampprefix, revision.toInteger())
}