formatting

This commit is contained in:
spencergibb
2021-03-31 11:44:47 -04:00
parent d02e262a4c
commit 24273cc83d
2 changed files with 4 additions and 2 deletions

View File

@@ -113,7 +113,8 @@ public class ProxyExchangeArgumentResolver implements HandlerMethodArgumentResol
}
}
private void configureAutoForwardedHeaders(final ProxyExchange<?> proxy, final NativeWebRequest webRequest) {
private void configureAutoForwardedHeaders(final ProxyExchange<?> proxy,
final NativeWebRequest webRequest) {
if ((autoForwardedHeaders != null) && (autoForwardedHeaders.size() > 0)) {
proxy.headers(extractAutoForwardedHeaders(webRequest));
}

View File

@@ -46,7 +46,8 @@ import static org.assertj.core.api.Assertions.assertThat;
@RunWith(SpringRunner.class)
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT)
@ContextConfiguration(classes = ProxyExchangeArgumentResolverTest.ProxyExchangeArgumentResolverTestApplication.class)
@ContextConfiguration(
classes = ProxyExchangeArgumentResolverTest.ProxyExchangeArgumentResolverTestApplication.class)
public class ProxyExchangeArgumentResolverTest {
@Autowired