attributes.log("IIOP has been turned on.", Project.MSG_INFO);
cmd.createArgument().setValue("-iiop");
if (attributes.getIiopopts() != null) {
attributes.log("IIOP Options: " + attributes.getIiopopts(),
Project.MSG_INFO);
cmd.createArgument().setValue(attributes.getIiopopts());
}
cmd.createArgument().setValue("-idl");
attributes.log("IDL has been turned on.", Project.MSG_INFO);
if (attributes.getIdlopts() != null) {
cmd.createArgument().setValue(attributes.getIdlopts());
attributes.log("IDL Options: " + attributes.getIdlopts(),
Project.MSG_INFO);
}
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/rmic/DefaultRmicAdapter.java
|
|
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/rmic/DefaultRmicAdapter.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
| | | 1 | cmd.createArgument().setValue("-idl");↵
|
1 | attributes.log("IIOP has been turned on.", Project.MSG_INFO);↵ | | 2 | attributes.log("IDL has been turned on.", Project.MSG_INFO);↵
|
| | | 3 | if (attributes.getIdlopts() != null) {↵
|
2 | cmd.createArgument().setValue("-iiop");↵ | | 4 | cmd.createArgument().setValue↵
|
3 | if (attributes.getIiopopts() != null) {↵ | | 5 | (attributes.getIdlopts());↵
|
4 | attributes.log("IIOP Options: " + attributes.getIiopopts(),↵ | | 6 | attributes.log("IDL Options: " + attributes.getIdlopts(),↵
|
5 | Project.MSG_INFO);↵ | | 7 | Project.MSG_INFO);↵
|
6 | cmd.createArgument().setValue(attributes.getIiopopts());↵ | | |
|
7 | } | | 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 |