Issue #4003 Cleanup quickstart
* cleanup from review Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
parent
1b3ee6ee17
commit
289c70ec9b
|
@ -968,7 +968,8 @@ public class WebAppContext extends ServletContextHandler implements WebAppClassL
|
||||||
*/
|
*/
|
||||||
public void setConfigurationClasses(String[] configurations)
|
public void setConfigurationClasses(String[] configurations)
|
||||||
{
|
{
|
||||||
loadConfigurations();
|
if (_configurations == null)
|
||||||
|
_configurations = new Configurations();
|
||||||
_configurations.set(configurations);
|
_configurations.set(configurations);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -982,7 +983,8 @@ public class WebAppContext extends ServletContextHandler implements WebAppClassL
|
||||||
*/
|
*/
|
||||||
public void setConfigurations(Configuration[] configurations)
|
public void setConfigurations(Configuration[] configurations)
|
||||||
{
|
{
|
||||||
loadConfigurations();
|
if (_configurations == null)
|
||||||
|
_configurations = new Configurations();
|
||||||
_configurations.set(configurations);
|
_configurations.set(configurations);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1005,13 +1007,13 @@ public class WebAppContext extends ServletContextHandler implements WebAppClassL
|
||||||
|
|
||||||
public void removeConfiguration(Configuration... configurations)
|
public void removeConfiguration(Configuration... configurations)
|
||||||
{
|
{
|
||||||
loadConfigurations();
|
if (_configurations != null)
|
||||||
_configurations.remove(configurations);
|
_configurations.remove(configurations);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void removeConfiguration(Class<? extends Configuration>... configurations)
|
public void removeConfiguration(Class<? extends Configuration>... configurations)
|
||||||
{
|
{
|
||||||
loadConfigurations();
|
if (_configurations != null)
|
||||||
_configurations.remove(configurations);
|
_configurations.remove(configurations);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue