Rename socket factory processor methods on NettyRSocketServerFactory
Previously, the methods were named addServerProcessors and setServerProcessors which wasn't aligned with them taking socket factory processors (ServerRSocketFactoryProcessor) as an argument. This commit renames the methods to align them more closely with the type of their arguments. Closes gh-18617
This commit is contained in:
@@ -97,7 +97,7 @@ public class RSocketServerAutoConfiguration {
|
||||
PropertyMapper map = PropertyMapper.get().alwaysApplyingWhenNonNull();
|
||||
map.from(properties.getServer().getAddress()).to(factory::setAddress);
|
||||
map.from(properties.getServer().getPort()).to(factory::setPort);
|
||||
factory.setServerProcessors(processors.orderedStream().collect(Collectors.toList()));
|
||||
factory.setSocketFactoryProcessors(processors.orderedStream().collect(Collectors.toList()));
|
||||
return factory;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user