#55 little fix

This commit is contained in:
Nightblade73 2019-04-14 21:34:39 +04:00
parent 8cfc64ea85
commit f88f035e65

View File

@ -68,7 +68,7 @@ public class ConferenceService {
if (conferenceDto.getDeadlines().get(deadlineIndex).getId() != null) {
conferenceDto.getRemovedDeadlineIds().add(conferenceDto.getDeadlines().get(deadlineIndex).getId());
}
conferenceDto.getDeadlines().remove(conferenceDto.getDeadlines().get(deadlineIndex));
conferenceDto.getDeadlines().remove((int) deadlineIndex);
}
private Conference copyFromDto(Conference conference, ConferenceDto conferenceDto) throws IOException {