Plugin: ticket 336 fix NPE
This commit is contained in:
@ -234,12 +234,14 @@ public class PluginStarter implements Runnable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
Iterator <String> wars = pluginWars.get(appName).iterator();
|
if(pluginWars.containsKey(appName)) {
|
||||||
while (wars.hasNext()) {
|
Iterator <String> wars = pluginWars.get(appName).iterator();
|
||||||
String warName = wars.next();
|
while (wars.hasNext()) {
|
||||||
WebAppStarter.stopWebApp(server, warName);
|
String warName = wars.next();
|
||||||
|
WebAppStarter.stopWebApp(server, warName);
|
||||||
|
}
|
||||||
|
pluginWars.get(appName).clear();
|
||||||
}
|
}
|
||||||
pluginWars.get(appName).clear();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// remove summary bar link
|
// remove summary bar link
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
2010-11-27 sponge
|
||||||
|
* Plugin: ticket 336 fix NPE
|
||||||
|
|
||||||
2010-11-27 sponge
|
2010-11-27 sponge
|
||||||
* Slackware: bump i2p-base version, so that it can be upgraded with the new
|
* Slackware: bump i2p-base version, so that it can be upgraded with the new
|
||||||
base code fixes.
|
base code fixes.
|
||||||
|
Reference in New Issue
Block a user