if (s.length > 0) {
NoneSelector ns = new NoneSelector();
for (int i = 0; i < s.length; i++) {
ns.appendSelector(s[i]);
}
fs.appendSelector(ns);
}
if (0 != specifications.length) {
System.out.println("Specifications Supported By Library:");
for (int i = 0; i < specifications.length; i++) {
final Specification specification = specifications[ i ];
displaySpecification(specification);
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Sync.java
|
|
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/extension/LibraryDisplayer.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | if (s.length > 0) {↵ | | 1 | if (0 != specifications.length) {↵
|
2 | NoneSelector ns = new NoneSelector();↵ | | 2 | ↵
|
3 | ↵ | | 3 | System.out.println("Specifications Supported By Library:");↵
|
4 | for (int i = 0; i < s.length; i++) {↵ | | 4 | for (int i = 0; i < specifications.length; i++) {↵
|
5 | ns.appendSelector(s[i]);↵ | | 5 | ↵
|
6 | }↵ | | |
|
7 | fs.appendSelector(ns↵ | | 6 | final Specification specification = specifications[ i ];↵
|
8 | );↵ | | 7 | displaySpecification(specification);↵
|
9 | } | | 8 |
|
See real code fragment |
|
See real code fragment |
Summary
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.0 |
Clones location | |
Number of node comparisons | 0 |