This commit is contained in:
地平线
2015-08-21 09:49:40 +08:00
parent 6b1b8be177
commit 5fe434d9f4

View File

@@ -71,7 +71,7 @@ public abstract class WebSocketServlet extends HttpServlet implements Nameable {
}
@Override
public final String name() {
public String name() {
return this.getClass().getSimpleName().replace("Servlet", "").replace("WebSocket", "").toLowerCase();
}