Skip to content

Commit 454e8ea

Browse files
izeyewilkinsona
authored andcommitted
Remove BeansEndpoint.BeansEndpointResponse
Closes gh-10495
1 parent 4e87f81 commit 454e8ea

File tree

1 file changed

+0
-19
lines changed
  • spring-boot-actuator/src/main/java/org/springframework/boot/actuate/beans

1 file changed

+0
-19
lines changed

spring-boot-actuator/src/main/java/org/springframework/boot/actuate/beans/BeansEndpoint.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
package org.springframework.boot.actuate.beans;
1818

1919
import java.util.HashMap;
20-
import java.util.List;
2120
import java.util.Map;
2221

2322
import org.springframework.beans.factory.config.BeanDefinition;
@@ -58,24 +57,6 @@ public ApplicationContextDescriptor beans() {
5857
return ApplicationContextDescriptor.describing(this.context);
5958
}
6059

61-
/**
62-
* Response produced by the {@link BeansEndpoint}, primarily intended for
63-
* serialization to JSON.
64-
*/
65-
public static class BeansEndpointResponse {
66-
67-
private List<ApplicationContextDescriptor> contexts;
68-
69-
public BeansEndpointResponse(List<ApplicationContextDescriptor> contexts) {
70-
this.contexts = contexts;
71-
}
72-
73-
public List<ApplicationContextDescriptor> getContexts() {
74-
return this.contexts;
75-
}
76-
77-
}
78-
7960
/**
8061
* A description of an application context, primarily intended for serialization to
8162
* JSON.

0 commit comments

Comments
 (0)