Commit f699bd24 authored by Stephane Nicoll's avatar Stephane Nicoll

Fix build

`@ManagedResource` annotated bean must be public.
parent 5473b1fc
......@@ -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 {
@Configuration
@ManagedResource
protected static class NestedInManagedEndpoint {
public static class NestedInManagedEndpoint {
@Bean
public Endpoint<Boolean> nested() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment