===================================================================== Found a 14 line (118 tokens) duplication in the following files: Starting at line 61 of C:\projects\MMBase\MMApps\mmcommons\src\java\net\sf\mmapps\commons\util\FileUtil.java Starting at line 105 of C:\projects\MMBase\MMApps\mmcommons\src\java\net\sf\mmapps\commons\util\FileUtil.java public static void copyFolderContent(String origin, String destination, FileFilter filter) throws IOException { File originFolder = new File(origin); File destinationFolder = new File(destination); if (originFolder.isDirectory()) { File[] filesInThisDirectory = originFolder.listFiles(filter); // create the destination folder if necessary... if (filesInThisDirectory.length > 0 && !destinationFolder.exists()) { destinationFolder.mkdirs(); } for (int i = 0; i < filesInThisDirectory.length; i++) { String originFile = filesInThisDirectory[i].getPath(); String originFileName = filesInThisDirectory[i].getName(); String destinationFile = destination + File.separator + originFileName; ===================================================================== Found a 17 line (110 tokens) duplication in the following files: Starting at line 180 of C:\projects\MMBase\MMApps\mmcommons\src\java\net\sf\mmapps\commons\bridge\CloneUtil.java Starting at line 197 of C:\projects\MMBase\MMApps\mmcommons\src\java\net\sf\mmapps\commons\bridge\CloneUtil.java RelationIterator ri = localNode.getRelations(relationName, managerName).relationIterator(); if (ri.hasNext()) { log.debug("the local node has relations"); } while (ri.hasNext()) { Relation rel = ri.nextRelation(); if (rel.getSource().getNumber() == localNode.getNumber()) { cloneRelation(rel, newNode, rel.getDestination()); } else { if (rel.getDestination().getNumber() == localNode.getNumber()) { cloneRelation(rel, rel.getSource(), newNode); } } } } public static void cloneAliasses(Node localNode, Node destNode) {