CloneSet283


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112629
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/XMLCatalog.java
212738
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/XMLCatalog.java
Next
Last
Clone Instance
1
Line Count
12
Source Line
629
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/XMLCatalog.java

//
// The ResourceLocation may specify a relative path for its
// location attribute.  This is resolved using the appropriate
// base.
//
if (matchingEntry.getBase() != null) {
  baseURL = matchingEntry.getBase();
}
else {
  try {
    baseURL = FILE_UTILS.getFileURL(getProject().getBaseDir());
  }
  catch (MalformedURLException
         ex) {
    throw new BuildException("Project basedir cannot be converted to a URL");
  }
}
InputSource source = null;
URL url = null;


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

//
// The ResourceLocation may specify a relative url for its
// location attribute.  This is resolved using the appropriate
// base.
//
if (matchingEntry.getBase() != null) {
  baseURL = matchingEntry.getBase();
}
else {
  try {
    baseURL = FILE_UTILS.getFileURL(getProject().getBaseDir());
  }
  catch (MalformedURLException
         ex) {
    throw new BuildException("Project basedir cannot be converted to a URL");
  }
}
InputSource source = null;
URL url = null;


Clone AbstractionParameter Count: 0Parameter Bindings

//
// The ResourceLocation may specify a relative path for its
// The ResourceLocation may specify a relative url for its
// location attribute.  This is resolved using the appropriate
// base.
//
if (matchingEntry.getBase() != null) {
  baseURL = matchingEntry.getBase();
}
else {
  try {
    baseURL = FILE_UTILS.getFileURL(getProject().getBaseDir());
  }
  catch (MalformedURLException
         ex) {
    throw new BuildException("Project basedir cannot be converted to a URL");
  }
}
InputSource source = null;
URL url = null;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None