mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-08-20 06:24:12 +00:00
fix[spring]: spring 6.1 LocalVariableTableParameterNameDiscoverer warning
This commit is contained in:
@@ -32,6 +32,9 @@ public class ProviderModule {
|
||||
private String provider;
|
||||
|
||||
|
||||
public ProviderModule() {
|
||||
}
|
||||
|
||||
public ProviderModule(String protocolModule, String provider) {
|
||||
this.protocolModule = protocolModule;
|
||||
this.provider = provider;
|
||||
|
||||
@@ -623,7 +623,7 @@ public class ProtocolAnalysis {
|
||||
checkUnsupportedType(clazz);
|
||||
// 是一个协议引用变量
|
||||
if (!protocolIdMap.containsKey(clazz)) {
|
||||
throw new RunException("sub protocol:[{}] needs to register in protocol:[{}]", clazz.getCanonicalName(), currentProtocolClass.getCanonicalName());
|
||||
throw new RunException("sub protocol:[{}] needs to register in protocol:[{}]", clazz.getSimpleName(), currentProtocolClass.getCanonicalName());
|
||||
}
|
||||
var protocolId = ProtocolManager.protocolId(currentProtocolClass);
|
||||
var subProtocolId = ProtocolManager.protocolId(clazz);
|
||||
|
||||
Reference in New Issue
Block a user