try {
dataStorage.removeUserCalendar(calendar.getCalendarOwner(), id);
} catch (Exception ex) {
LOG.error(ex);
}
<BUG>} else if (calendar.getCalendarType() == Calendar.Type.GROUP) {
</BUG>
try {
dataStorage.removeGroupCalendar(id);
} catch (Exception ex) {

try {
dataStorage.removeUserCalendar(calendar.getCalendarOwner(), id);
} catch (Exception ex) {
LOG.error(ex);
}
} else if (calendar.getCalType() == Calendar.Type.GROUP.type()) {
try {
dataStorage.removeGroupCalendar(id);
} catch (Exception ex) {
