Skip to content

Commit 837e2ac

Browse files
committed
Fix bean type visibility
Closes gh-28437
1 parent a392d80 commit 837e2ac

File tree

6 files changed

+11
-12
lines changed

6 files changed

+11
-12
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/reactive/ReactiveCloudFoundryActuatorAutoConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -161,7 +161,7 @@ WebFilterChainPostProcessor webFilterChainPostProcessor() {
161161

162162
}
163163

164-
private static class WebFilterChainPostProcessor implements BeanPostProcessor {
164+
static class WebFilterChainPostProcessor implements BeanPostProcessor {
165165

166166
@Override
167167
public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/servlet/WebMvcEndpointChildContextConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -112,7 +112,7 @@ RequestContextFilter requestContextFilter() {
112112
* {@link WebServerFactoryCustomizer} to add an {@link ErrorPage} so that the
113113
* {@link ManagementErrorEndpoint} can be used.
114114
*/
115-
private static class ManagementErrorPageCustomizer
115+
static class ManagementErrorPageCustomizer
116116
implements WebServerFactoryCustomizer<ConfigurableServletWebServerFactory>, Ordered {
117117

118118
private final ServerProperties properties;

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ private boolean usesVendorLocation(Collection<String> locations) {
399399
/**
400400
* Convert a String or Number to a {@link MigrationVersion}.
401401
*/
402-
private static class StringOrNumberToMigrationVersionConverter implements GenericConverter {
402+
static class StringOrNumberToMigrationVersionConverter implements GenericConverter {
403403

404404
private static final Set<ConvertiblePair> CONVERTIBLE_TYPES;
405405

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/hateoas/HypermediaHttpMessageConverterConfiguration.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ public static HalMessageConverterSupportedMediaTypesCustomizer halMessageConvert
6363
* {@code Jackson2ModuleRegisteringBeanPostProcessor} has registered the converter and
6464
* it is unordered.
6565
*/
66-
private static class HalMessageConverterSupportedMediaTypesCustomizer
67-
implements BeanFactoryAware, InitializingBean {
66+
static class HalMessageConverterSupportedMediaTypesCustomizer implements BeanFactoryAware, InitializingBean {
6867

6968
private volatile BeanFactory beanFactory;
7069

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoReactiveAutoConfiguration.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -94,14 +94,14 @@ NettyDriverMongoClientSettingsBuilderCustomizer nettyDriverCustomizer(
9494
/**
9595
* {@link MongoClientSettingsBuilderCustomizer} to apply Mongo client settings.
9696
*/
97-
private static final class NettyDriverMongoClientSettingsBuilderCustomizer
97+
static final class NettyDriverMongoClientSettingsBuilderCustomizer
9898
implements MongoClientSettingsBuilderCustomizer, DisposableBean {
9999

100100
private final ObjectProvider<MongoClientSettings> settings;
101101

102102
private volatile EventLoopGroup eventLoopGroup;
103103

104-
private NettyDriverMongoClientSettingsBuilderCustomizer(ObjectProvider<MongoClientSettings> settings) {
104+
NettyDriverMongoClientSettingsBuilderCustomizer(ObjectProvider<MongoClientSettings> settings) {
105105
this.settings = settings;
106106
}
107107

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/webservices/WebServicesAutoConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -93,7 +93,7 @@ protected static class WsConfiguration {
9393

9494
}
9595

96-
private static class WsdlDefinitionBeanFactoryPostProcessor
96+
static class WsdlDefinitionBeanFactoryPostProcessor
9797
implements BeanDefinitionRegistryPostProcessor, ApplicationContextAware {
9898

9999
private ApplicationContext applicationContext;

0 commit comments

Comments
 (0)