This commit is contained in:
Redkale
2020-09-24 23:32:26 +08:00
parent cf05851752
commit 6cf50c7cc9

View File

@@ -224,7 +224,7 @@ public final class Rest {
} }
} }
static Map<String, Service> getServiceMap(HttpServlet servlet) { public static Map<String, Service> getServiceMap(HttpServlet servlet) {
if (servlet == null) return null; if (servlet == null) return null;
try { try {
Field ts = servlet.getClass().getDeclaredField(REST_SERVICEMAP_FIELD_NAME); Field ts = servlet.getClass().getDeclaredField(REST_SERVICEMAP_FIELD_NAME);