CPD Results

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

Duplications

File Line
org\apache\commons\xmlio\in\SimpleImporter.java 407
org\apache\commons\xmlio\in\SimpleImporter.java 529
            }

            SimplePath path;
            if (buildComplexPath) {
                path =
                    new SimplePath(
                        parseStack.getPath(),
                        (Item[]) parseStack.getPathList().toArray(new Item[parseStack.getPathList().size()]));
            } else {
                path = new SimplePath(parseStack.getPath());

            }

            synchronized (callbackHandlerList) {
                for (Iterator it = callbackHandlerList.iterator(); it.hasNext();) {
                    SimpleImportHandler callbackHandler = (SimpleImportHandler) it.next();
                    if (getMakeCopy()) {
                        // string is constant any way, no need to make a copy
                        callbackHandler.endElement(new SimplePath(path), name);