Delete duplicate code block in WebHttpHandlerBuilder.applicationContext()
This commit deletes a duplicated code block that was accidentally
introduced in a8a1fc6de5
.
Closes gh-25389
This commit is contained in:
parent
03fa48919e
commit
fcf20bab2a
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
* Copyright 2002-2020 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -191,14 +191,6 @@ public final class WebHttpHandlerBuilder {
|
|||
// Fall back on default
|
||||
}
|
||||
|
||||
try {
|
||||
builder.localeContextResolver(
|
||||
context.getBean(LOCALE_CONTEXT_RESOLVER_BEAN_NAME, LocaleContextResolver.class));
|
||||
}
|
||||
catch (NoSuchBeanDefinitionException ex) {
|
||||
// Fall back on default
|
||||
}
|
||||
|
||||
try {
|
||||
builder.forwardedHeaderTransformer(
|
||||
context.getBean(FORWARDED_HEADER_TRANSFORMER_BEAN_NAME, ForwardedHeaderTransformer.class));
|
||||
|
|
Loading…
Reference in New Issue