Remove redundant parameter
This commit is contained in:
parent
84eb2c5af8
commit
b77403c92f
1 changed files with 2 additions and 2 deletions
|
|
@ -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())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue