ArrayList checkedList = new ArrayList(Arrays.asList(checkedElements));
ArrayList grayedList = new ArrayList(Arrays.asList(grayedElements));
checkedList = (ArrayList) CollectionUtils.subtract(checkedList, grayedList);
- ArrayList<TermDto> listUIIDChecked = new ArrayList<TermDto>();
+ ArrayList<UUID> listUIIDChecked = new ArrayList<>();
ArrayList<UUID> listUIIDGrayed = new ArrayList<UUID>();
for (Object o : checkedList) {
if (o instanceof TermDto) {
- listUIIDChecked.add((TermDto) o);
+ listUIIDChecked.add(((TermDto) o).getUuid());
}else if(o instanceof TermVocabularyDto){
TermVocabularyDto termVocDto = (TermVocabularyDto) o;