forked from I2P_Developers/i2p.i2p
fix NPE
This commit is contained in:
@ -42,14 +42,6 @@ public class WebAppConfiguration implements Configuration {
|
|||||||
|
|
||||||
private static final String CLASSPATH = ".classpath";
|
private static final String CLASSPATH = ".classpath";
|
||||||
|
|
||||||
public void setWebAppContext(WebAppContext context) {
|
|
||||||
_wac = context;
|
|
||||||
}
|
|
||||||
|
|
||||||
public WebAppContext getWebAppContext() {
|
|
||||||
return _wac;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This was the interface in Jetty 5, now it's configureClassLoader()
|
* This was the interface in Jetty 5, now it's configureClassLoader()
|
||||||
*/
|
*/
|
||||||
@ -138,6 +130,7 @@ public class WebAppConfiguration implements Configuration {
|
|||||||
|
|
||||||
/** @since Jetty 7 */
|
/** @since Jetty 7 */
|
||||||
public void configure(WebAppContext context) throws Exception {
|
public void configure(WebAppContext context) throws Exception {
|
||||||
|
_wac = context;
|
||||||
configureClassPath();
|
configureClassPath();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user