Fixed the LGTM error "Type mismatch on container modification"
@@ -208,7 +208,7 @@ private ControllerAction convertEvent(Controller c, Event event) {
* @param controller the controller to remove
*/
private void removeController(Controller controller) {
- controllers.remove(controller.getName());
+ controllers.remove(controller);
logger.info("Removed controller: " + controller.getName());
}
