/wro4j-core/src/main/java/ro/isdc/wro/model/group/Group.java
if ( filteredResources.contains( resource) ) {   warn( ( ( "Duplicated resource detected: " + resource) + ". This resource won't be included more than once!") ) ; }else {   filteredResources.add( resource) ; }
[Delete]
public final Group collectResourcesOfType(final ResourceType type) { notNull(type); final List<Resource> filteredResources = new ArrayList<>(); for (final Resource resource : getResources()) { if (type == resource.getType()) { if (filteredResources.contains(resource)) { <extra_id_0> } else { filteredResources.add(resource); } } } final Group filteredGroup = new Group(getName());