mirror of
https://github.com/apache/rocketmq.git
synced 2026-09-24 16:04:00 +08:00
[ISSUE #6119] replace ScheduleMessageService method reference
This commit is contained in:
+1
-3
@@ -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: {}",
|
||||
|
||||
Reference in New Issue
Block a user