删除不需要的泛型声明

This commit is contained in:
everywhere.z
2023-01-05 17:39:32 +08:00
parent 513d90db69
commit df76a05c4f

View File

@@ -135,7 +135,7 @@ public abstract class NodeComponent{
}
}
public <T> void beforeProcess(String nodeId, Slot slot){
public void beforeProcess(String nodeId, Slot slot){
//全局切面只在spring体系下生效这里用了spi机制取到相应环境下的实现类
//非spring环境下全局切面为空实现
CmpAroundAspectHolder.loadCmpAroundAspect().beforeProcess(nodeId, slot);
@@ -151,7 +151,7 @@ public abstract class NodeComponent{
//如果需要在抛错后回调某一段逻辑,请覆盖这个方法
}
public <T> void afterProcess(String nodeId, Slot slot){
public void afterProcess(String nodeId, Slot slot){
CmpAroundAspectHolder.loadCmpAroundAspect().afterProcess(nodeId, slot);
}