From 454e8eaf71c77ed345a2be4fbb6a317a0a45c897 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Tue, 3 Oct 2017 02:55:29 +0900 Subject: [PATCH] Remove BeansEndpoint.BeansEndpointResponse Closes gh-10495 --- .../boot/actuate/beans/BeansEndpoint.java | 19 ------------------- 1 file changed, 19 deletions(-) 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.