Commit 494b79c4 authored by Andy Wilkinson's avatar Andy Wilkinson

Merge pull request #10495 from Johnny Lim

* gh-10495:
  Remove BeansEndpoint.BeansEndpointResponse
parents 4e87f816 454e8eaf
...@@ -17,7 +17,6 @@ ...@@ -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 { ...@@ -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.
......
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