Browse Source

Fix build

`@ManagedResource` annotated bean must be public.
pull/5341/merge
Stephane Nicoll 10 years ago
parent
commit
f699bd2435
  1. 4
      spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/EndpointMBeanExportAutoConfigurationTests.java

4
spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/EndpointMBeanExportAutoConfigurationTests.java

@ -175,7 +175,7 @@ public class EndpointMBeanExportAutoConfigurationTests { @@ -175,7 +175,7 @@ public class EndpointMBeanExportAutoConfigurationTests {
@Component
@ManagedResource
protected static class ManagedEndpoint extends AbstractEndpoint<Boolean> {
public static class ManagedEndpoint extends AbstractEndpoint<Boolean> {
public ManagedEndpoint() {
super("managed", true);
@ -190,7 +190,7 @@ public class EndpointMBeanExportAutoConfigurationTests { @@ -190,7 +190,7 @@ public class EndpointMBeanExportAutoConfigurationTests {
@Configuration
@ManagedResource
protected static class NestedInManagedEndpoint {
public static class NestedInManagedEndpoint {
@Bean
public Endpoint<Boolean> nested() {

Loading…
Cancel
Save