REQ-2135: 格式化

This commit is contained in:
yanglin 2024-04-03 16:36:46 +08:00
parent 34153a7ae6
commit 688b89b6f7

View File

@ -48,6 +48,7 @@ import java.util.Set;
import java.util.stream.Collectors;
import static java.util.stream.Collectors.toList;
import static java.util.stream.Collectors.toSet;
/**
* @author yanglin
@ -473,7 +474,7 @@ public class TodoManager {
if (updated && builder.isSendPullNotification()) {
Set<Long> executorPersonIds = todos.stream()
.map(Todo::getExecutorPersonId)
.collect(Collectors.toSet());
.collect(toSet());
pullTodoBroadcaster.fireTodoChanged(executorPersonIds);
}
// rerun no state query in case of race condition