CloneSet450


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

// Here if there is an error
switch (onError) {
  case OnError.FAIL_ALL:
    throw new BuildException(message);
  case OnError.FAIL:
  // Fall Through
  case OnError.REPORT:
    log(message, Project.MSG_WARN);
    break;
  case OnError.IGNORE:
    // log at a lower level
    log(message, Project.MSG_VERBOSE);
    break;
  default:
    // Ignore the problem
    break;
}


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

switch (onError) {
  case OnError.FAIL_ALL:
    throw new BuildException(message);
  case OnError.FAIL:
  case OnError.REPORT:
    log(message, Project.MSG_WARN);
    break;
  case OnError.IGNORE:
    log(message, Project.MSG_VERBOSE);
    break;
  default:
    // Ignore the problem
    break;
}


Clone AbstractionParameter Count: 0Parameter Bindings

// Here if there is an error
switch (onError) {
  case OnError.FAIL_ALL:
    throw new BuildException(message);
  case OnError.FAIL:
  // Fall Through
  case OnError.REPORT:
    log(message, Project.MSG_WARN);
    break;
  case OnError.IGNORE:
    // log at a lower level
    log(message, Project.MSG_VERBOSE);
    break;
  default:
    // Ignore the problem
    break;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None