update 优化 消除编译相关提醒

This commit is contained in:
疯狂的狮子Li
2026-03-02 13:27:53 +08:00
parent e669fa3210
commit 6b3ed18c33
6 changed files with 7 additions and 5 deletions

View File

@@ -21,6 +21,7 @@ import java.util.stream.IntStream;
*
* @author 老马
*/
@SuppressWarnings({"unchecked", "rawtypes"})
@Component
@JobExecutor(name = "testMapJobAnnotation")
public class TestMapJobAnnotation {

View File

@@ -23,6 +23,7 @@ import java.util.stream.IntStream;
*
* @author 老马
*/
@SuppressWarnings({"unchecked", "rawtypes"})
@Component
@JobExecutor(name = "testMapReduceAnnotation1")
public class TestMapReduceAnnotation1 {

View File

@@ -102,7 +102,7 @@ public class FlwNodeExtServiceImpl implements NodeExtService, IFlwNodeExtService
* @param sources 数据来源(枚举类或字典类型)
* @return 构建的 `NodeExt` 对象
*/
@SuppressWarnings("unchecked cast")
@SuppressWarnings("unchecked")
private NodeExt buildNodeExt(String code, String name, int type, List<Object> sources) {
NodeExt nodeExt = new NodeExt();
nodeExt.setCode(code);