CloneSet565


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20201.000class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
120134
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xml/KeyHandler.java
220139
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xml/ValueHandler.java
Next
Last
Clone Instance
1
Line Count
20
Source Line
134
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xml/KeyHandler.java

/**
 * Receives some (or all) of the text in the current element.
 *
 * @param ch  character buffer.
 * @param start  the start index.
 * @param length  the length of the valid character data.
 */
public void characters(char[] ch, int start, int length) {
  if (this.currentText != null) {
    this.currentText.append(String.copyValueOf(ch, start, length));
  }
}

/**
 * Returns the current text of the textbuffer.
 *
 * @return The current text.
 */
protected String getCurrentText() {
  return this.currentText.toString();
}

/**
 * Removes all text from the textbuffer at the end of a CDATA section.
 */
protected void clearCurrentText() {
  this.currentText.delete(0, this.currentText.length());
}


First
Previous
Clone Instance
2
Line Count
20
Source Line
139
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/xml/ValueHandler.java

/**
 * Receives some (or all) of the text in the current element.
 *
 * @param ch  character buffer.
 * @param start  the start index.
 * @param length  the length of the valid character data.
 */
public void characters(char[] ch, int start, int length) {
  if (this.currentText != null) {
    this.currentText.append(String.copyValueOf(ch, start, length));
  }
}

/**
 * Returns the current text of the textbuffer.
 *
 * @return The current text.
 */
protected String getCurrentText() {
  return this.currentText.toString();
}

/**
 * Removes all text from the textbuffer at the end of a CDATA section.
 */
protected void clearCurrentText() {
  this.currentText.delete(0, this.currentText.length());
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * Receives some (or all) of the text in the current element.
     *
     * @param ch  character buffer.
     * @param start  the start index.
     * @param length  the length of the valid character data.
     */
public void characters(char[] ch, int start, int length) {
  if (this.currentText != null) {
    this.currentText.append(String.copyValueOf(ch, start, length));
  }
}

/**
     * Returns the current text of the textbuffer.
     *
     * @return The current text.
     */
protected String getCurrentText() {
  return this.currentText.toString();
}

/**
     * Removes all text from the textbuffer at the end of a CDATA section.
     */
protected void clearCurrentText() {
  this.currentText.delete(0, this.currentText.length());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None