CloneSet1323


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2210.967method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12184
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Jar.java
22305
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Zip.java
Next
Last
Clone Instance
1
Line Count
2
Source Line
184
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Jar.java

/**
 * Indicates if a jar file should be created when it would only contain a
 * manifest file.
 * Possible values are: <code>fail</code> (throw an exception
 * and halt the build); <code>skip</code> (do not create
 * any archive, but issue a warning); <code>create</code>
 * (make an archive with only a manifest file).
 * Default is <code>create</code>;
 * @param we a <code>WhenEmpty</code> enumerated value
 */
public void setWhenmanifestonly(WhenEmpty we) {
  emptyBehavior = we.getValue();
}


First
Previous
Clone Instance
2
Line Count
2
Source Line
305
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Zip.java

/**
 * Sets behavior of the task when no files match.
 * Possible values are: <code>fail</code> (throw an exception
 * and halt the build); <code>skip</code> (do not create
 * any archive, but issue a warning); <code>create</code>
 * (make an archive with no entries).
 * Default for zip tasks is <code>skip</code>;
 * for jar tasks, <code>create</code>.
 * @param we a <code>WhenEmpty</code> enumerated value
 */
public void setWhenempty(WhenEmpty we) {
  emptyBehavior = we.getValue();
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Indicates if a jar file should be created when it would only contain a
     * manifest file.
     * Possible values are: <code>fail</code> (throw an exception
     * and halt the build); <code>skip</code> (do not create
     * any archive, but issue a warning); <code>create</code>
     * (make an archive with only a manifest file).
     * Default is <code>create</code>;
     * @param we a <code>WhenEmpty</code> enumerated value
     */
/**
     * Sets behavior of the task when no files match.
     * Possible values are: <code>fail</code> (throw an exception
     * and halt the build); <code>skip</code> (do not create
     * any archive, but issue a warning); <code>create</code>
     * (make an archive with no entries).
     * Default for zip tasks is <code>skip</code>;
     * for jar tasks, <code>create</code>.
     * @param we a <code>WhenEmpty</code> enumerated value
     */
public void [[#variable112b2320]](WhenEmpty we) {
  emptyBehavior = we.getValue();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#112b2320]]
setWhenmanifestonly 
12[[#112b2320]]
setWhenempty