Renamed BackupContext.Builder#setServer -> saveServer

This commit is contained in:
szymon 2020-09-13 20:38:58 +02:00
parent 5de9c9ba0c
commit d9aee50cd1
3 changed files with 5 additions and 5 deletions

View File

@ -43,7 +43,7 @@ public class StartBackupCommand {
.setCommandSource(ctx.getSource())
.setComment(StringArgumentType.getString(ctx, "comment"))
.guessInitiator()
.setSave()
.saveServer()
.build()
)
);
@ -58,7 +58,7 @@ public class StartBackupCommand {
new BackupContext.Builder()
.setCommandSource(source)
.guessInitiator()
.setSave()
.saveServer()
.build()
)
);

View File

@ -105,7 +105,7 @@ public class BackupContext {
return this;
}
public Builder setSave() {
public Builder saveServer() {
this.save = true;
return this;
}

View File

@ -43,7 +43,7 @@ public class BackupScheduler {
new BackupContext.Builder()
.setServer(server)
.setInitiator(BackupContext.BackupInitiator.Timer)
.setSave()
.saveServer()
.build()
)
);
@ -61,7 +61,7 @@ public class BackupScheduler {
new BackupContext.Builder()
.setServer(server)
.setInitiator(BackupContext.BackupInitiator.Timer)
.setSave()
.saveServer()
.build()
)
);