Merge pull request #7475 from YunWZ/develop
[ISSUE #7474]Remove meaningless parentheses
This commit is contained in:
commit
78e17a1c4b
@ -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;
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user