mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
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