CloneSet463


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

/**
 * Adds nested text in a new child element.
 *
 * <p>This means
 * <pre>appendTextElement(&lt;a&gt;, "b", "c")</pre>
 * creates
 * <pre>
 * &lt;a&gt;
 *   &lt;b&gt;c&lt;/b&gt;
 * &lt;/a&gt;
 * </pre>
 * </p>
 *
 * @param parent element that will receive the new element as child.
 * @param name of the child element.
 * @param content text content.
 *
 * @since Ant 1.6.3
 */
public static void appendTextElement(Element parent, String name, String content) {
  Element e = createChildElement(parent, name);
  appendText(e, content);
}


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

/**
 * Adds a nested CDATA section in a new child element.
 *
 * <p>This means
 * <pre>appendCDATAElement(&lt;a&gt;, "b", "c")</pre>
 * creates
 * <pre>
 * &lt;a&gt;
 *   &lt;b&gt;&lt;![CDATA[c]]>&lt;/b&gt;
 * &lt;/a&gt;
 * </pre>
 * </pre>
 * </p>
 *
 * @param parent element that will receive the new element as child.
 * @param name of the child element.
 * @param content text content.
 *
 * @since Ant 1.6.3
 */
public static void appendCDATAElement(Element parent, String name, String content) {
  Element e = createChildElement(parent, name);
  appendCDATA(e, content);
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Adds a nested CDATA section in a new child element.
     *
     * <p>This means
     * <pre>appendCDATAElement(&lt;a&gt;, "b", "c")</pre>
     * creates
     * <pre>
     * &lt;a&gt;
     *   &lt;b&gt;&lt;![CDATA[c]]>&lt;/b&gt;
     * &lt;/a&gt;
     * </pre>
     * </pre>
     * </p>
     *
     * @param parent element that will receive the new element as child.
     * @param name of the child element.
     * @param content text content.
     *
     * @since Ant 1.6.3
     */
/**
     * Adds nested text in a new child element.
     *
     * <p>This means
     * <pre>appendTextElement(&lt;a&gt;, "b", "c")</pre>
     * creates
     * <pre>
     * &lt;a&gt;
     *   &lt;b&gt;c&lt;/b&gt;
     * &lt;/a&gt;
     * </pre>
     * </p>
     *
     * @param parent element that will receive the new element as child.
     * @param name of the child element.
     * @param content text content.
     *
     * @since Ant 1.6.3
     */
public static void [[#variable13133060]](Element parent, String name, String content) {
  Element e = createChildElement(parent, name);
   [[#variable13132fc0]](e, content);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#13133060]]
appendTextElement 
12[[#13133060]]
appendCDATAElement 
21[[#13132fc0]]
appendText 
22[[#13132fc0]]
appendCDATA