CloneSet229


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7410.963method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17531
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/EchoProperties.java
2756
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/junit/XMLJUnitResultFormatter.java
37320
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/junit/XMLResultAggregator.java
4766
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/XmlLogger.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
531
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/EchoProperties.java

/**
 * Uses the DocumentBuilderFactory to get a DocumentBuilder instance.
 *
 * @return   The DocumentBuilder instance
 */
private static DocumentBuilder getDocumentBuilder() {
  try {
    return DocumentBuilderFactory.newInstance().newDocumentBuilder();
  }
  catch (Exception
         e) {
    throw new ExceptionInInitializerError(e);
  }
}


Next
Previous
Clone Instance
2
Line Count
7
Source Line
56
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/junit/XMLJUnitResultFormatter.java

private static DocumentBuilder getDocumentBuilder() {
  try {
    return DocumentBuilderFactory.newInstance().newDocumentBuilder();
  }
  catch (Exception
         exc) {
    throw new ExceptionInInitializerError(exc);
  }
}


Next
Previous
Clone Instance
3
Line Count
7
Source Line
320
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/junit/XMLResultAggregator.java

/**
 * Create a new document builder. Will issue an <tt>ExceptionInitializerError</tt>
 * if something is going wrong. It is fatal anyway.
 * @todo factorize this somewhere else. It is duplicated code.
 * @return a new document builder to create a DOM
 */
private static DocumentBuilder getDocumentBuilder() {
  try {
    return DocumentBuilderFactory.newInstance().newDocumentBuilder();
  }
  catch (Exception
         exc) {
    throw new ExceptionInInitializerError(exc);
  }
}


First
Previous
Clone Instance
4
Line Count
7
Source Line
66
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/XmlLogger.java

/**
 * Returns a default DocumentBuilder instance or throws an
 * ExceptionInInitializerError if it can't be created.
 *
 * @return a default DocumentBuilder instance.
 */
private static DocumentBuilder getDocumentBuilder() {
  try {
    return DocumentBuilderFactory.newInstance().newDocumentBuilder();
  }
  catch (Exception
         exc) {
    throw new ExceptionInInitializerError(exc);
  }
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Returns a default DocumentBuilder instance or throws an
     * ExceptionInInitializerError if it can't be created.
     *
     * @return a default DocumentBuilder instance.
     */
/**
     * Uses the DocumentBuilderFactory to get a DocumentBuilder instance.
     *
     * @return   The DocumentBuilder instance
     */
/**
     * Create a new document builder. Will issue an <tt>ExceptionInitializerError</tt>
     * if something is going wrong. It is fatal anyway.
     * @todo factorize this somewhere else. It is duplicated code.
     * @return a new document builder to create a DOM
     */
private static DocumentBuilder getDocumentBuilder() {
  try {
    return DocumentBuilderFactory.newInstance().newDocumentBuilder();
  }
  catch (Exception
          [[#variablefe1dce0]]) {
    throw new ExceptionInInitializerError( [[#variablefe1dce0]]);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#fe1dce0]]
e 
12[[#fe1dce0]]
exc 
13[[#fe1dce0]]
exc 
14[[#fe1dce0]]
exc