CloneSet643


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12201.000class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111177
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Checksum.java
21292
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
11
Source Line
177
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Checksum.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;
}


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

// -----  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;
}


Clone AbstractionParameter Count: 0Parameter Bindings

// -----  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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None