Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 0 | 1.000 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 370 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ejb/IPlanetDeploymentTool.java |
2 | 4 | 434 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ejb/JonasDeploymentTool.java |
| |||||
endOfBaseName = descriptorName.lastIndexOf('.') - 1; if (endOfBaseName < 0) { endOfBaseName = descriptorName.length() - 1; } |
| |||||
// baseNameTerminator not found: the descriptor use the // JOnAS naming convention, ie [Foo.xml,jonas-Foo.xml] and // not [Foo<baseNameTerminator>-ejb-jar.xml, // Foo<baseNameTerminator>-jonas-ejb-jar.xml]. endOfBaseName = descriptorName.lastIndexOf('.') - 1; if (endOfBaseName < 0) { // no . found endOfBaseName = descriptorName.length() - 1; } |
| |||
// baseNameTerminator not found: the descriptor use the // JOnAS naming convention, ie [Foo.xml,jonas-Foo.xml] and // not [Foo<baseNameTerminator>-ejb-jar.xml, // Foo<baseNameTerminator>-jonas-ejb-jar.xml]. endOfBaseName = descriptorName.lastIndexOf('.') - 1; if (endOfBaseName < 0) { // no . found endOfBaseName = descriptorName.length() - 1; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |