if (tsItem.isUnlimitedAttendee())
cell.setCellValue(rb.getString("event_unlimited"));
else if (isOrganizer(wrapper.getMeeting())) {
cell.setCellValue(tsItem.getMaxNoOfAttendees());
} else {
<BUG>int availableSpots = tsItem.getAttendees() != null ? tsItem
</BUG>
.getMaxNoOfAttendees()
<BUG>- tsItem.getAttendees().size() : tsItem.getMaxNoOfAttendees();
</BUG>
availableSpots = availableSpots < 1 ? 0 : availableSpots;

if (tsItem.isUnlimitedAttendee())
cell.setCellValue(rb.getString("event_unlimited"));
else if (isOrganizer(wrapper.getMeeting())) {
cell.setCellValue(tsItem.getMaxNoOfAttendees());
} else {
int availableSpots = getValidAttendees(tsItem.getAttendees()) != null ? tsItem
.getMaxNoOfAttendees()
- getValidAttendees(tsItem.getAttendees()).size() : tsItem.getMaxNoOfAttendees();
availableSpots = availableSpots < 1 ? 0 : availableSpots;
