Merge pull request #10495 from Johnny Lim

* gh-10495:
  Remove BeansEndpoint.BeansEndpointResponse
This commit is contained in:
Andy Wilkinson
2017-10-02 20:16:40 +01:00

View File

@@ -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<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
* JSON.