439394 load-on-startup with value 0 not preserved for quickstart
This commit is contained in:
parent
d5c210f1c3
commit
5f77a0ef72
|
@ -593,7 +593,7 @@ public class QuickStartDescriptorGenerator
|
||||||
if (holder instanceof ServletHolder)
|
if (holder instanceof ServletHolder)
|
||||||
{
|
{
|
||||||
ServletHolder s = (ServletHolder)holder;
|
ServletHolder s = (ServletHolder)holder;
|
||||||
if (s.getInitOrder() != 0)
|
if (s.getInitOrder() >= 0)
|
||||||
out.tag("load-on-startup",Integer.toString(s.getInitOrder()));
|
out.tag("load-on-startup",Integer.toString(s.getInitOrder()));
|
||||||
|
|
||||||
if (s.getRunAsRole() != null)
|
if (s.getRunAsRole() != null)
|
||||||
|
|
Loading…
Reference in New Issue