- LOG.debug("handleEvent {} for bundle {}", event.getTopic(), event.getProperty(EventConstants.BUNDLE));
- if (containerBundles.contains(event.getProperty(EventConstants.BUNDLE))) {
+ final Bundle bundle = (Bundle) event.getProperty(EventConstants.BUNDLE);
+ LOG.debug("handleEvent {} for bundle {}", event.getTopic(), bundle);
+ if (containerBundles.contains(bundle)) {