Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.982 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 354 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/Javah.java |
2 | 5 | 130 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/Native2Ascii.java |
| |||||
/** * Choose the implementation for this particular task. * @param impl the name of the implemenation. * @since Ant 1.6.3 */ public void setImplementation(String impl) { if ("default".equals(impl)) { facade.setImplementation(JavahAdapterFactory.getDefault()); } else { facade.setImplementation(impl); } } |
| |||||
/** * Choose the implementation for this particular task. * @param impl the name of the implemenation * @since Ant 1.6.3 */ public void setImplementation(String impl) { if ("default".equals(impl)) { facade.setImplementation(Native2AsciiAdapterFactory.getDefault()); } else { facade.setImplementation(impl); } } |
| |||
/** * Choose the implementation for this particular task. * @param impl the name of the implemenation. * @since Ant 1.6.3 */ /** * Choose the implementation for this particular task. * @param impl the name of the implemenation * @since Ant 1.6.3 */ public void setImplementation(String impl) { if ("default".equals(impl)) { facade.setImplementation( [[#variable130568c0]].getDefault()); } else { facade.setImplementation(impl); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#130568c0]] | JavahAdapterFactory |
1 | 2 | [[#130568c0]] | Native2AsciiAdapterFactory |