fix merge error from master by setting new method on ServletHolder to Source.EMBEDDED
This commit is contained in:
parent
f2d0fd3cc8
commit
9c7b44d806
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue