[ISSUE #6119] replace ScheduleMessageService method reference

This commit is contained in:
hardyfish
2023-02-28 08:15:44 +08:00
committed by GitHub
parent 7a454477c5
commit 8667a0d335
@@ -717,9 +717,7 @@ public class ScheduleMessageService extends ConfigManager {
}
public PutResultProcess thenProcess() {
this.future.thenAccept(result -> {
this.handleResult(result);
});
this.future.thenAccept(this::handleResult);
this.future.exceptionally(e -> {
log.error("ScheduleMessageService put message exceptionally, info: {}",