refactor: Add setOption(key) method
Some checks are pending
bld-ci / build-bld-project (17) (push) Waiting to run
bld-ci / build-bld-project (21) (push) Waiting to run
bld-ci / build-bld-project (23) (push) Waiting to run

This commit is contained in:
Erik C. Thauvin 2025-01-23 12:37:02 -08:00
parent 6fea3d5fc6
commit 8d74b48e8d
Signed by: erik
GPG key ID: 776702A6A2DA330E
8 changed files with 26 additions and 22 deletions

View file

@ -33,7 +33,7 @@ public class JReleaserTemplateEvalOperation extends AbstractJReleaserPlatformAwa
* @return this operation instance
*/
public JReleaserTemplateEvalOperation overwrite() {
setOption("--overwrite", EMPTY);
setOption("--overwrite");
return this;
}
@ -43,7 +43,7 @@ public class JReleaserTemplateEvalOperation extends AbstractJReleaserPlatformAwa
* @return this operation instance
*/
public JReleaserTemplateEvalOperation announce() {
setOption("--announce", EMPTY);
setOption("--announce");
return this;
}
@ -53,7 +53,7 @@ public class JReleaserTemplateEvalOperation extends AbstractJReleaserPlatformAwa
* @return this operation instance
*/
public JReleaserTemplateEvalOperation assembly() {
setOption("--assembly", EMPTY);
setOption("--assembly");
return this;
}
@ -63,7 +63,7 @@ public class JReleaserTemplateEvalOperation extends AbstractJReleaserPlatformAwa
* @return this operation instance
*/
public JReleaserTemplateEvalOperation changelog() {
setOption("--changelog", EMPTY);
setOption("--changelog");
return this;
}
@ -73,7 +73,7 @@ public class JReleaserTemplateEvalOperation extends AbstractJReleaserPlatformAwa
* @return this operation instance
*/
public JReleaserTemplateEvalOperation download() {
setOption("--download", EMPTY);
setOption("--download");
return this;
}