From f28cbb4ac53c7a0e39e49039600547246bbe0da0 Mon Sep 17 00:00:00 2001 From: Redkale <22250530@qq.com> Date: Fri, 14 Oct 2016 14:31:56 +0800 Subject: [PATCH] --- src/org/redkale/net/http/HttpBaseServlet.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/org/redkale/net/http/HttpBaseServlet.java b/src/org/redkale/net/http/HttpBaseServlet.java index b44ec0965..f057be3e7 100644 --- a/src/org/redkale/net/http/HttpBaseServlet.java +++ b/src/org/redkale/net/http/HttpBaseServlet.java @@ -231,12 +231,6 @@ public abstract class HttpBaseServlet extends HttpServlet { final String name = action.url().trim(); if (nameset.contains(name)) throw new RuntimeException(this.getClass().getSimpleName() + " has two same " + WebAction.class.getSimpleName() + "(" + name + ")"); - //屏蔽以下代码,允许相互包含 -// for (String n : nameset) { -// if (n.contains(name) || name.contains(n)) { -// throw new RuntimeException(this.getClass().getSimpleName() + " has two sub-contains " + WebAction.class.getSimpleName() + "(" + name + ", " + n + ")"); -// } -// } nameset.add(name); map.put(name, new Entry(typeIgnore, serviceid, actionid, name, action.methods(), method, createHttpServlet(method))); }