Remove BeansEndpoint.BeansEndpointResponse

Closes gh-10495
pull/10498/head
Johnny Lim 7 years ago committed by Andy Wilkinson
parent 4e87f8163e
commit 454e8eaf71

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

Loading…
Cancel
Save