CloneSet5735


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.984class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15801
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/LaunchingPlugin.java
2564
plugins/org.eclipse.jdt.launching/support/org/eclipse/jdt/internal/launching/support/SystemProperties.java
Clone Instance
1
Line Count
5
Source Line
801
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/LaunchingPlugin.java

        /**
         * Returns a Document that can be used to build a DOM tree
         * @return the Document
         * @throws ParserConfigurationException if an exception occurs creating the document builder
         */
        public static Document getDocument() throws ParserConfigurationException {
                DocumentBuilderFactory dfactory = DocumentBuilderFactory.newInstance();
                DocumentBuilder docBuilder = dfactory.newDocumentBuilder();
                Document doc = docBuilder.newDocument();
                return doc;
        }


Clone Instance
2
Line Count
5
Source Line
64
Source File
plugins/org.eclipse.jdt.launching/support/org/eclipse/jdt/internal/launching/support/SystemProperties.java

        /**
         * Returns a a new XML document
         * @return document
         * @throws ParserConfigurationException if an exception occurs creating the document builder
         */
        private static Document newDocument() throws ParserConfigurationException {
                DocumentBuilderFactory dfactory = DocumentBuilderFactory.newInstance();
                DocumentBuilder docBuilder = dfactory.newDocumentBuilder();
                Document doc = docBuilder.newDocument();
                return doc;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

 [[#variable93b99ae0]]static Document  [[#variable93b99a20]]() throws ParserConfigurationException {
  DocumentBuilderFactory dfactory = DocumentBuilderFactory.newInstance();
  DocumentBuilder docBuilder = dfactory.newDocumentBuilder();
  Document doc = docBuilder.newDocument();
  return doc;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#93b99ae0]]
/**
 * Returns a Document that can be used to build a DOM tree
 * @return the Document
 * @throws ParserConfigurationException if an exception occurs creating the document builder
 */
public 
12[[#93b99ae0]]
/**
 * Returns a a new XML document
 * @return document
 * @throws ParserConfigurationException if an exception occurs creating the document builder
 */
private 
21[[#93b99a20]]
getDocument 
22[[#93b99a20]]
newDocument