File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Delete.java | File path: /apache-ant-1.7.0/src/org/apache/tools/ant/util/ResourceUtils.java | |||
Method name: void execute()
|
Method name: void copyResource(Resource, Resource, FilterSetCollection, Vector, boolean, boolean, String, String, Project)
|
|||
Number of AST nodes: 8 | Number of AST nodes: 8 | |||
1 | if (rcs != null) {↵ | 1 | if (↵ | |
2 | // sort first to files, then dirs↵ | |||
3 | Restrict exists = new Restrict();↵ | |||
4 | exists.add(EXISTS);↵ | |||
5 | exists.add(rcs);↵ | |||
6 | Sort s = new Sort();↵ | |||
7 | s.add(REVERSE_FILESYSTEM);↵ | |||
8 | s.add(exists);↵ | |||
9 | resourcesToDelete.add(s);↵ | |||
2 | filterChainsAvailable) {↵ | |||
3 | ChainReaderHelper crh = new ChainReaderHelper();↵ | |||
4 | crh.setBufferSize(FileUtils.BUF_SIZE);↵ | |||
5 | crh.setPrimaryReader(in);↵ | |||
6 | crh.setFilterChains(filterChains);↵ | |||
7 | crh.setProject(project);↵ | |||
8 | Reader rdr = crh.getAssembledReader();↵ | |||
9 | in = new BufferedReader(rdr);↵ | |||
10 | } | 10 | } | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.1 |
Clones location | Clones are in different classes |
Number of node comparisons | 1 |