Codecheck bug fix #3962
Annotations
10 errors and 1 warning
checkstyle:
sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/classloader/ClassLoaderManager.java#L82
[Checkstyle Check] reported by reviewdog 🐶
编程规范-规则2.7 : 不用的代码段直接删除,不要注释掉
Raw Output:
/home/runner/work/Sermant/Sermant/./sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/classloader/ClassLoaderManager.java:82:0: error: 编程规范-规则2.7 : 不用的代码段直接删除,不要注释掉 (com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck)
|
checkstyle:
sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/common/LoggerFactory.java#L64
[Checkstyle Check] reported by reviewdog 🐶
Expected @throws tag for 'LoggerInitException'.
Raw Output:
/home/runner/work/Sermant/Sermant/./sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/common/LoggerFactory.java:64:35: error: Expected @throws tag for 'LoggerInitException'. (com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck)
|
checkstyle:
sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/event/collector/FrameworkEventDefinitions.java#L92
[Checkstyle Check] reported by reviewdog 🐶
编程规范-规则2.6:注释正文与其下的各个Javadoc tag之间加1个空行
Raw Output:
/home/runner/work/Sermant/Sermant/./sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/event/collector/FrameworkEventDefinitions.java:92:0: error: 编程规范-规则2.6:注释正文与其下的各个Javadoc tag之间加1个空行 (com.puppycrawl.tools.checkstyle.checks.regexp.RegexpMultilineCheck)
|
checkstyle:
sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/utils/ClassLoaderUtils.java#L19
[Checkstyle Check] reported by reviewdog 🐶
Unused import - com.huaweicloud.sermant.core.plugin.classloader.PluginClassLoader.
Raw Output:
/home/runner/work/Sermant/Sermant/./sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/utils/ClassLoaderUtils.java:19:8: error: Unused import - com.huaweicloud.sermant.core.plugin.classloader.PluginClassLoader. (com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck)
|
checkstyle:
sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/utils/ClassLoaderUtils.java#L71
[Checkstyle Check] reported by reviewdog 🐶
编程规范-规则2.7 : 不用的代码段直接删除,不要注释掉
Raw Output:
/home/runner/work/Sermant/Sermant/./sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/utils/ClassLoaderUtils.java:71:0: error: 编程规范-规则2.7 : 不用的代码段直接删除,不要注释掉 (com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck)
|
checkstyle:
sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/utils/ClassLoaderUtils.java#L76
[Checkstyle Check] reported by reviewdog 🐶
建议不要返回null! 1)编程规范-建议5.5: 集合请返回Collections.emptyXXX() 2)编程规范-建议8.6.2: 其他请使用JAVA 8 Optional特性代替
Raw Output:
/home/runner/work/Sermant/Sermant/./sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/utils/ClassLoaderUtils.java:76:0: error: 建议不要返回null! 1)编程规范-建议5.5: 集合请返回Collections.emptyXXX() 2)编程规范-建议8.6.2: 其他请使用JAVA 8 Optional特性代替 (com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck)
|
checkstyle:
sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/utils/ClassLoaderUtils.java#L193
[Checkstyle Check] reported by reviewdog 🐶
编程规范-规则2.7 : 不用的代码段直接删除,不要注释掉
Raw Output:
/home/runner/work/Sermant/Sermant/./sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/utils/ClassLoaderUtils.java:193:0: error: 编程规范-规则2.7 : 不用的代码段直接删除,不要注释掉 (com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck)
|
checkstyle:
sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/utils/ClassLoaderUtils.java#L198
[Checkstyle Check] reported by reviewdog 🐶
建议不要返回null! 1)编程规范-建议5.5: 集合请返回Collections.emptyXXX() 2)编程规范-建议8.6.2: 其他请使用JAVA 8 Optional特性代替
Raw Output:
/home/runner/work/Sermant/Sermant/./sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/utils/ClassLoaderUtils.java:198:0: error: 建议不要返回null! 1)编程规范-建议5.5: 集合请返回Collections.emptyXXX() 2)编程规范-建议8.6.2: 其他请使用JAVA 8 Optional特性代替 (com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck)
|
checkstyle
reviewdog: Too many results (annotations) in diff.
You may miss some annotations due to GitHub limitation for annotation created by logging command.
Please check GitHub Actions log console to see all results.
Limitation:
- 10 warning annotations and 10 error annotations per step
- 50 annotations per job (sum of annotations from all the steps)
- 50 annotations per run (separate from the job annotations, these annotations aren't created by users)
Source: https://github.community/t5/GitHub-Actions/Maximum-number-of-annotations-that-can-be-created-using-GitHub/m-p/39085
|
checkstyle:
sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/utils/ClassLoaderUtils.java#L204
[Checkstyle Check] reported by reviewdog 🐶
编程规范-规则2.7 : 不用的代码段直接删除,不要注释掉
Raw Output:
/home/runner/work/Sermant/Sermant/./sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/utils/ClassLoaderUtils.java:204:0: error: 编程规范-规则2.7 : 不用的代码段直接删除,不要注释掉 (com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck)
|
checkstyle:
sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/classloader/ClassLoaderManager.java#L82
[Checkstyle Check] reported by reviewdog 🐶
编程规范-建议3.8 禁止插入空格水平对齐(包括多余括号)。
Raw Output:
/home/runner/work/Sermant/Sermant/./sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/classloader/ClassLoaderManager.java:82:0: warning: 编程规范-建议3.8 禁止插入空格水平对齐(包括多余括号)。 (com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck)
|
The logs for this run have expired and are no longer available.
Loading