mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-26 17:09:05 +00:00
Polishing
This commit is contained in:
+3
-3
@@ -64,12 +64,12 @@ class WebClientDataBufferAllocatingTests extends AbstractDataBufferAllocatingTes
|
||||
|
||||
@BeforeAll
|
||||
void setUpReactorResourceFactory() {
|
||||
factory.afterPropertiesSet();
|
||||
this.factory.afterPropertiesSet();
|
||||
}
|
||||
|
||||
@AfterAll
|
||||
void destroyReactorResourceFactory() {
|
||||
factory.destroy();
|
||||
this.factory.destroy();
|
||||
}
|
||||
|
||||
private void setUp(DataBufferFactory bufferFactory) {
|
||||
@@ -87,7 +87,7 @@ class WebClientDataBufferAllocatingTests extends AbstractDataBufferAllocatingTes
|
||||
|
||||
if (super.bufferFactory instanceof NettyDataBufferFactory) {
|
||||
ByteBufAllocator allocator = ((NettyDataBufferFactory) super.bufferFactory).getByteBufAllocator();
|
||||
return new ReactorClientHttpConnector(factory, httpClient ->
|
||||
return new ReactorClientHttpConnector(this.factory, httpClient ->
|
||||
httpClient.tcpConfiguration(tcpClient -> tcpClient.option(ChannelOption.ALLOCATOR, allocator)));
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user