refactor: Add setOption(key) method
This commit is contained in:
parent
6fea3d5fc6
commit
8d74b48e8d
8 changed files with 26 additions and 22 deletions
|
@ -30,7 +30,7 @@ public class AbstractJReleaserPlatformAwareModelOperation<S extends AbstractJRel
|
|||
* @return this operation instance
|
||||
*/
|
||||
public S dryRun() {
|
||||
setOption("--dry-run", EMPTY);
|
||||
setOption("--dry-run");
|
||||
return self();
|
||||
}
|
||||
|
||||
|
@ -40,7 +40,7 @@ public class AbstractJReleaserPlatformAwareModelOperation<S extends AbstractJRel
|
|||
* @return this operation instance
|
||||
*/
|
||||
public S selectCurrentPlatform() {
|
||||
setOption("--select-current-platform", EMPTY);
|
||||
setOption("--select-current-platform");
|
||||
return self();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue