Merge pull request #7475 from YunWZ/develop

[ISSUE #7474]Remove meaningless parentheses
This commit is contained in:
李晓双 Li Xiao Shuang 2021-12-22 10:47:16 +08:00 committed by GitHub
commit 78e17a1c4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,7 +115,7 @@ public class ProtocolManager extends MemberChangeListener implements DisposableB
Class configType = ClassUtils.resolveGenericType(protocol.getClass());
Config config = (Config) ApplicationUtils.getBean(configType);
injectMembers4AP(config);
protocol.init((config));
protocol.init(config);
ProtocolManager.this.apProtocol = protocol;
});
}
@ -125,7 +125,7 @@ public class ProtocolManager extends MemberChangeListener implements DisposableB
Class configType = ClassUtils.resolveGenericType(protocol.getClass());
Config config = (Config) ApplicationUtils.getBean(configType);
injectMembers4CP(config);
protocol.init((config));
protocol.init(config);
ProtocolManager.this.cpProtocol = protocol;
});
}