} //end of while loop (attachmentIterator.hasNext())
} //end of if statement (attachments != null)
newEventHashMap.put("Attachment", newAttachments);
newEventID = remote.addEvent(newEventHashMap, individualId);
} //end of if statement (eventDetails != null)
Collection oldEventAttendees = remote.getAttendeesForEvent(individualId, eventID);
if (oldEventAttendees != null)
{