forked from I2P_Developers/i2p.i2p
fix class cast exception
This commit is contained in:
@ -155,6 +155,8 @@ public class WebAppStarter {
|
||||
return null;
|
||||
String path = '/'+ appName;
|
||||
for (int i = 0; i < handlers.length; i++) {
|
||||
if (!(handlers[i] instanceof ContextHandler))
|
||||
continue;
|
||||
ContextHandler ch = (ContextHandler) handlers[i];
|
||||
if (path.equals(ch.getContextPath()))
|
||||
return ch;
|
||||
|
Reference in New Issue
Block a user