mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-05-21 06:24:38 +00:00
delete[protocol]: 删除无用的异常
This commit is contained in:
@@ -370,7 +370,7 @@ public class ProtocolManager {
|
||||
}
|
||||
}
|
||||
|
||||
private static ProtocolRegistration parseProtocolRegistration(Class<?> clazz, ProtocolModule module) throws NoSuchFieldException, IllegalAccessException, NoSuchMethodException, InvocationTargetException, InstantiationException {
|
||||
private static ProtocolRegistration parseProtocolRegistration(Class<?> clazz, ProtocolModule module) throws IllegalAccessException, NoSuchMethodException, InvocationTargetException, InstantiationException {
|
||||
var protocolId = checkProtocol(clazz);
|
||||
|
||||
if (protocols[protocolId] != null) {
|
||||
@@ -417,7 +417,7 @@ public class ProtocolManager {
|
||||
return protocol;
|
||||
}
|
||||
|
||||
private static IFieldRegistration toRegistration(Class<?> clazz, Field field) throws NoSuchFieldException, IllegalAccessException {
|
||||
private static IFieldRegistration toRegistration(Class<?> clazz, Field field) {
|
||||
Class<?> fieldTypeClazz = field.getType();
|
||||
|
||||
ISerializer serializer = tempBaseSerializerMap.get(fieldTypeClazz);
|
||||
|
||||
Reference in New Issue
Block a user