}
}
if (item != null) {
// fire the event for file being deleted
eventBus().post(new RepositoryItemEventDeleteRoot(this, item));
// if we are deleting a collection, perform recursive notification about this too
if (item instanceof StorageCollectionItem) {
log.debug("deleting a collection '{}'", item.getPath());