Skip to content

Commit

Permalink
Merge pull request #189 from zhuanghaozhe/develop
Browse files Browse the repository at this point in the history
空指针的优化 (#188)
  • Loading branch information
magestacks authored Apr 20, 2022
2 parents 8a1aee4 + 246ba7f commit c36d244
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public void checkPoolRejectedAlarm(String threadPoolId, ThreadPoolExecutor threa
*/
public void asyncSendExecuteTimeOutAlarm(String threadPoolId, long executeTime, long executeTimeOut, ThreadPoolExecutor threadPoolExecutor) {
ThreadPoolNotifyAlarm threadPoolNotifyAlarm = GlobalNotifyAlarmManage.get(threadPoolId);
if (!threadPoolNotifyAlarm.getIsAlarm()) {
if (Objects.isNull(threadPoolNotifyAlarm) || !threadPoolNotifyAlarm.getIsAlarm()) {
return;
}

Expand Down

0 comments on commit c36d244

Please sign in to comment.