diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/beans/BeansEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/beans/BeansEndpoint.java index 24df8fe5ba..f446b2612e 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/beans/BeansEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/beans/BeansEndpoint.java @@ -17,7 +17,6 @@ package org.springframework.boot.actuate.beans; import java.util.HashMap; -import java.util.List; import java.util.Map; import org.springframework.beans.factory.config.BeanDefinition; @@ -58,24 +57,6 @@ public class BeansEndpoint { return ApplicationContextDescriptor.describing(this.context); } - /** - * Response produced by the {@link BeansEndpoint}, primarily intended for - * serialization to JSON. - */ - public static class BeansEndpointResponse { - - private List contexts; - - public BeansEndpointResponse(List contexts) { - this.contexts = contexts; - } - - public List getContexts() { - return this.contexts; - } - - } - /** * A description of an application context, primarily intended for serialization to * JSON.