Fixed typo in filtering of associated content types

Former-commit-id: cb8a95f4f7
pull/2/head
Jens Pelzetter 2020-02-21 16:20:59 +01:00
parent d35e9e597b
commit 3657c9e901
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ public class SelectType extends CMSForm implements PrintListener,
// .collect(Collectors.toList()); // .collect(Collectors.toList());
final List<ContentTypeInfo> notAssignedTypes = availableTypes.stream() final List<ContentTypeInfo> notAssignedTypes = availableTypes.stream()
.filter(type -> assignedTypes.contains(type.getContentItemClass() .filter(type -> !assignedTypes.contains(type.getContentItemClass()
.getName())) .getName()))
.collect(Collectors.toList()); .collect(Collectors.toList());