From 5b7c787b31e7119d09266819e12c7ad6a1eb7cf7 Mon Sep 17 00:00:00 2001 From: JackyTang <jackytang01@gmail.com> Date: 星期四, 20 四月 2023 10:49:29 +0800 Subject: [PATCH] update 使用instanceof模式匹配, 减少二次转换 --- ruoyi-extend/ruoyi-xxl-job-admin/src/main/java/com/xxl/job/admin/core/thread/JobCompleteHelper.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-extend/ruoyi-xxl-job-admin/src/main/java/com/xxl/job/admin/core/thread/JobCompleteHelper.java b/ruoyi-extend/ruoyi-xxl-job-admin/src/main/java/com/xxl/job/admin/core/thread/JobCompleteHelper.java index 95542fd..37b9bf8 100644 --- a/ruoyi-extend/ruoyi-xxl-job-admin/src/main/java/com/xxl/job/admin/core/thread/JobCompleteHelper.java +++ b/ruoyi-extend/ruoyi-xxl-job-admin/src/main/java/com/xxl/job/admin/core/thread/JobCompleteHelper.java @@ -96,7 +96,7 @@ } } catch (Exception e) { if (!toStop) { - logger.error(">>>>>>>>>>> xxl-job, job fail monitor thread error:{}" , e); + logger.error(">>>>>>>>>>> xxl-job, job fail monitor thread error:{}", e); } } @@ -144,7 +144,7 @@ public void run() { for (HandleCallbackParam handleCallbackParam : callbackParamList) { ReturnT<String> callbackResult = callback(handleCallbackParam); - logger.debug(">>>>>>>>> JobApiController.callback {}, handleCallbackParam={}, callbackResult={}" , + logger.debug(">>>>>>>>> JobApiController.callback {}, handleCallbackParam={}, callbackResult={}", (callbackResult.getCode() == ReturnT.SUCCESS_CODE ? "success" : "fail"), handleCallbackParam, callbackResult); } } -- Gitblit v1.9.3