fix merge error from master by setting new method on ServletHolder to Source.EMBEDDED

This commit is contained in:
Jesse McConnell 2012-01-26 11:18:35 -06:00
parent f2d0fd3cc8
commit 9c7b44d806
1 changed files with 2 additions and 12 deletions

View File

@ -85,17 +85,6 @@ public class ServletHolder extends Holder<Servlet> implements UserIdentity.Scope
{
super (Source.EMBEDDED);
}
/* ---------------------------------------------------------------- */
/** Constructor for existing servlet.
*/
public ServletHolder(String name,Servlet servlet)
{
setName(name);
setServlet(servlet);
}
/* ---------------------------------------------------------------- */
/** Constructor .
@ -117,8 +106,9 @@ public class ServletHolder extends Holder<Servlet> implements UserIdentity.Scope
/* ---------------------------------------------------------------- */
/** Constructor for servlet class.
*/
public ServletHolder(String name,Class<? extends Servlet> servlet)
public ServletHolder(String name, Class<? extends Servlet> servlet)
{
super (Source.EMBEDDED);
setName(name);
setHeldClass(servlet);
}