Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 0 | 1.000 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 177 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Checksum.java |
2 | 12 | 92 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/selectors/modifiedselector/DigestAlgorithm.java |
| |||||
/** * Specifies the algorithm to be used to compute the checksum. * Defaults to "MD5". Other popular algorithms like "SHA" may be used as well. * @param algorithm a <code>String</code> value */ public void setAlgorithm(String algorithm) { this.algorithm = algorithm; } /** * Sets the MessageDigest algorithm provider to be used * to calculate the checksum. * @param provider a <code>String</code> value */ public void setProvider(String provider) { this.provider = provider; } |
| |||||
// ----- Algorithm-Configuration ----- /** * Specifies the algorithm to be used to compute the checksum. * Defaults to "MD5". Other popular algorithms like "SHA" may be used as well. * @param algorithm the digest algorithm to use */ public void setAlgorithm(String algorithm) { this.algorithm = algorithm; } /** * Sets the MessageDigest algorithm provider to be used * to calculate the checksum. * @param provider provider to use */ public void setProvider(String provider) { this.provider = provider; } |
| |||
// ----- Algorithm-Configuration ----- /** * Specifies the algorithm to be used to compute the checksum. * Defaults to "MD5". Other popular algorithms like "SHA" may be used as well. * @param algorithm the digest algorithm to use */ /** * Specifies the algorithm to be used to compute the checksum. * Defaults to "MD5". Other popular algorithms like "SHA" may be used as well. * @param algorithm a <code>String</code> value */ public void setAlgorithm(String algorithm) { this.algorithm = algorithm; } /** * Sets the MessageDigest algorithm provider to be used * to calculate the checksum. * @param provider provider to use */ /** * Sets the MessageDigest algorithm provider to be used * to calculate the checksum. * @param provider a <code>String</code> value */ public void setProvider(String provider) { this.provider = provider; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |