CPD Results

The following document contains the results of PMD's CPD 6.21.0.

Duplications

File Line
info/magnolia/ui/contentapp/JcrListPresenter.java 95
info/magnolia/ui/contentapp/JcrTreePresenter.java 124
    protected PropertySet<Node> createPropertySet() {
        final List<JcrItemPropertySet.JcrPropertyDescriptor> propertyDescriptors = definition.getColumns().stream().collect(toMap(ColumnDefinition::getName, ColumnDefinition::getType))
                .entrySet().stream()
                .map(entry -> JcrItemPropertySet.JcrPropertyDescriptor.builder()
                        .type((Class) entry.getValue())
                        .name(entry.getKey())
                        .nodeNameProperty(datasourceDefinition.getNodeNameProperty())
                        .build())
                .collect(toList());
        return (PropertySet) new JcrItemPropertySet(propertyDescriptors, i18NAuthoringSupport);