Renamed BackupContext.Builder#setServer -> saveServer

2.x-1.16
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()) .setCommandSource(ctx.getSource())
.setComment(StringArgumentType.getString(ctx, "comment")) .setComment(StringArgumentType.getString(ctx, "comment"))
.guessInitiator() .guessInitiator()
.setSave() .saveServer()
.build() .build()
) )
); );
@ -58,7 +58,7 @@ public class StartBackupCommand {
new BackupContext.Builder() new BackupContext.Builder()
.setCommandSource(source) .setCommandSource(source)
.guessInitiator() .guessInitiator()
.setSave() .saveServer()
.build() .build()
) )
); );

View File

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

View File

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