CPD Results

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

Duplications

File Line
info/magnolia/ui/dialog/formdialog/FormBuilder.java 180
info/magnolia/ui/dialog/formdialog/FormPresenterImpl.java 206
            FormTab tab = buildFormTab(tabDefinition, item, form);
            if (tab == null) continue;

            Iterator<Component> fieldIt = tab.getContainer().iterator();
            while (fieldIt.hasNext()) {
                view.addField((Field<?>) fieldIt.next());
            }

            fieldIt = tab.getContainer().iterator();
            if (!firstFieldIsBuilt && fieldIt.hasNext()) {
                ((Component.Focusable) fieldIt.next()).focus();
                firstFieldIsBuilt = true;
            }

            view.addFormSection(tabDefinition.getLabel(), tab.getContainer());