Resolve "Удаление дедлайна" #177

Merged
VladimirZarayskiy merged 1 commits from 62-delete-deadline into dev 2019-04-14 23:33:46 +04:00
Showing only changes of commit f88f035e65 - Show all commits

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 {