From 48c8d3a551d54d62e0480df67172f38ec40f5b87 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Tue, 24 Sep 2019 13:57:14 +0200 Subject: [PATCH] Polishing --- .../function/client/WebClientDataBufferAllocatingTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientDataBufferAllocatingTests.java b/spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientDataBufferAllocatingTests.java index 21d1f447342..6624c5cd874 100644 --- a/spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientDataBufferAllocatingTests.java +++ b/spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientDataBufferAllocatingTests.java @@ -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 {