CloneSet268


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17573
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Checksum.java
27171
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/selectors/modifiedselector/DigestAlgorithm.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
573
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Checksum.java

StringBuffer checksumSb = new StringBuffer();
for (int i = 0; i < fileDigest.length; i++) {
  String hexStr = Integer.toHexString(0x00ff&fileDigest[i]);
  if (hexStr.length() < 2) {
    checksumSb.append("0");
  }
  checksumSb.append(hexStr);
}


First
Previous
Clone Instance
2
Line Count
7
Source Line
171
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/selectors/modifiedselector/DigestAlgorithm.java

StringBuffer checksumSb = new StringBuffer();
for (int i = 0; i < fileDigest.length; i++) {
  String hexStr = Integer.toHexString(0x00ff&fileDigest[i]);
  if (hexStr.length() < 2) {
    checksumSb.append("0");
  }
  checksumSb.append(hexStr);
}


Clone AbstractionParameter Count: 0Parameter Bindings

StringBuffer checksumSb = new StringBuffer();
for (int i = 0; i < fileDigest.length; i++) {
  String hexStr = Integer.toHexString(0x00ff&fileDigest[i]);
  if (hexStr.length() < 2) {
    checksumSb.append("0");
  }
  checksumSb.append(hexStr);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None