CloneSet427


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18507
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/ExecTask.java
28148
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Java.java
Next
Last
Clone Instance
1
Line Count
8
Source Line
507
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/ExecTask.java

if (spawn && incompatibleWithSpawn) {
  getProject().log("spawn does not allow attributes related to input, " + "output, error, result", Project.MSG_ERR);
  getProject().log("spawn also does not allow timeout", Project.MSG_ERR);
  getProject().log("finally, spawn is not compatible " + "with a nested I/O <redirector>", Project.MSG_ERR);
  throw new BuildException("You have used an attribute " + "or nested element which is not compatible with spawn");
}


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

if (spawn && incompatibleWithSpawn) {
  getProject().log("spawn does not allow attributes related to input, " + "output, error, result", Project.MSG_ERR);
  getProject().log("spawn also does not allow timeout", Project.MSG_ERR);
  getProject().log("finally, spawn is not compatible " + "with a nested I/O <redirector>", Project.MSG_ERR);
  throw new BuildException("You have used an attribute " + "or nested element which is not compatible with spawn");
}


Clone AbstractionParameter Count: 0Parameter Bindings

if (spawn && incompatibleWithSpawn) {
  getProject().log("spawn does not allow attributes related to input, " + "output, error, result", Project.MSG_ERR);
  getProject().log("spawn also does not allow timeout", Project.MSG_ERR);
  getProject().log("finally, spawn is not compatible " + "with a nested I/O <redirector>", Project.MSG_ERR);
  throw new BuildException("You have used an attribute " + "or nested element which is not compatible with spawn");
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None