ChaoXoX opened a new pull request, #10409:
URL: https://github.com/apache/rocketmq/pull/10409

   Before Creating the Enhancement Request
    I have confirmed that this should be classified as an enhancement rather 
than a bug/feature.
   Summary
   为 
[UtilAll.isItTimeToDo](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/workbench.html)
 增加边界输入的容错处理,并补充对应单测,提高 common 模块覆盖率。
   
   Motivation
   当前方法对 null、空白和非法数字输入会抛 
NumberFormatException,容易影响定时任务判断流程。补充容错逻辑与单测能提高健壮性并提升覆盖率。
   
   Describe the Solution You'd Like
   
[UtilAll.isItTimeToDo](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/workbench.html)
 对 null/空白/非法 token 安全忽略,跳过越界小时值。
   新增单测覆盖:
   当前小时命中
   含非法 token 的混合输入
   null/空串/空白/非法数字/越界小时
   Describe Alternatives You've Considered
   暂无
   
   Additional Context
   关联 #8262(提升项目整体测试覆盖率)。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to