Make class package-private as it's returned from package-private method
Returning a private class from a package-private method causes the AOT-generated source files to fail to compile as the private class is not visible. Closes gh-33106
This commit is contained in:
parent
8cb615e9b6
commit
b5e502d03b
|
|
@ -142,7 +142,7 @@ public class WebFluxEndpointManagementContextConfiguration {
|
|||
* {@link BeanPostProcessor} to apply {@link EndpointObjectMapper} for
|
||||
* {@link OperationResponseBody} to {@link Jackson2JsonEncoder} instances.
|
||||
*/
|
||||
private static class ServerCodecConfigurerEndpointObjectMapperBeanPostProcessor implements BeanPostProcessor {
|
||||
static class ServerCodecConfigurerEndpointObjectMapperBeanPostProcessor implements BeanPostProcessor {
|
||||
|
||||
private static final List<MediaType> MEDIA_TYPES = Collections
|
||||
.unmodifiableList(Arrays.asList(MediaType.APPLICATION_JSON, new MediaType("application", "*+json")));
|
||||
|
|
|
|||
Loading…
Reference in New Issue