Fixed classType deubg warp core output

This commit is contained in:
Willem Cazander 2024-12-19 20:10:21 +01:00
parent 423e128993
commit 32ee384a09

View file

@ -103,7 +103,7 @@ public class WarpCorePlasmaInspectorServlet extends HttpServlet {
for (Class<?> cls : clazzes) { for (Class<?> cls : clazzes) {
AttributesImpl atts = new AttributesImpl(); AttributesImpl atts = new AttributesImpl();
atts.addAttribute("", "className", "", "", cls.getName()); atts.addAttribute("", "className", "", "", cls.getName());
atts.addAttribute("", "classTypeName", "", "", cls.getTypeName()); atts.addAttribute("", "classType", "", "", cls.toString().split(" ")[0]);
writer.printTagStartEnd(Tag.claimType, atts); writer.printTagStartEnd(Tag.claimType, atts);
} }
writer.printTagEnd(tag); writer.printTagEnd(tag);