CloneSet658


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.965method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17154
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/util/JAXPUtils.java
27170
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/util/JAXPUtils.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
154
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/util/JAXPUtils.java

/**
 * Returns a newly created SAX 2 XMLReader, using the default parser
 * factory.
 *
 * @return a SAX 2 XMLReader.
 * @throws BuildException on error.
 * @see #getParserFactory
 * @since Ant 1.5
 */
public static XMLReader getXMLReader() throws BuildException {
  try {
    return newSAXParser(getParserFactory()).getXMLReader();
  }
  catch (SAXException
         e) {
    throw convertToBuildException(e);
  }
}


First
Previous
Clone Instance
2
Line Count
7
Source Line
170
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/util/JAXPUtils.java

/**
 * Returns a newly created SAX 2 XMLReader, which is namespace aware
 *
 * @return a SAX 2 XMLReader.
 * @throws BuildException on error.
 * @see #getParserFactory
 * @since Ant 1.6
 */
public static XMLReader getNamespaceXMLReader() throws BuildException {
  try {
    return newSAXParser(getNSParserFactory()).getXMLReader();
  }
  catch (SAXException
         e) {
    throw convertToBuildException(e);
  }
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Returns a newly created SAX 2 XMLReader, which is namespace aware
     *
     * @return a SAX 2 XMLReader.
     * @throws BuildException on error.
     * @see #getParserFactory
     * @since Ant 1.6
     */
/**
     * Returns a newly created SAX 2 XMLReader, using the default parser
     * factory.
     *
     * @return a SAX 2 XMLReader.
     * @throws BuildException on error.
     * @see #getParserFactory
     * @since Ant 1.5
     */
public static XMLReader  [[#variable13042420]]() throws BuildException {
  try {
    return newSAXParser( [[#variable13042320]]()).getXMLReader();
  }
  catch (SAXException
         e) {
    throw convertToBuildException(e);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#13042420]]
getXMLReader 
12[[#13042420]]
getNamespaceXMLReader 
21[[#13042320]]
getParserFactory 
22[[#13042320]]
getNSParserFactory