CloneSet377


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.963method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16248
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Ant.java
26199
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/CallTarget.java
Next
Last
Clone Instance
1
Line Count
6
Source Line
248
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Ant.java

/**
 * Handles input.
 * Deleate to the created project, if present, otherwise
 * call the super class.
 * @param buffer the buffer into which data is to be read.
 * @param offset the offset into the buffer at which data is stored.
 * @param length the amount of data to read.
 *
 * @return the number of bytes read.
 *
 * @exception IOException if the data cannot be read.
 * @see Task#handleInput(byte[], int, int)
 * @since Ant 1.6
 */
public int handleInput(byte[] buffer, int offset, int length) throws IOException {
  if (newProject != null) {
    return newProject.demuxInput(buffer, offset, length);
  }
  return super.handleInput(buffer, offset, length);
}


First
Previous
Clone Instance
2
Line Count
6
Source Line
199
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/CallTarget.java

/**
 * Handles input.
 * Deleate to the created project, if present, otherwise
 * call the super class.
 * @param buffer the buffer into which data is to be read.
 * @param offset the offset into the buffer at which data is stored.
 * @param length the amount of data to read.
 *
 * @return the number of bytes read.
 *
 * @exception IOException if the data cannot be read.
 * @see Task#handleInput(byte[], int, int)
 * @since Ant 1.6
 */
public int handleInput(byte[] buffer, int offset, int length) throws IOException {
  if (callee != null) {
    return callee.handleInput(buffer, offset, length);
  }
  return super.handleInput(buffer, offset, length);
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Handles input.
     * Deleate to the created project, if present, otherwise
     * call the super class.
     * @param buffer the buffer into which data is to be read.
     * @param offset the offset into the buffer at which data is stored.
     * @param length the amount of data to read.
     *
     * @return the number of bytes read.
     *
     * @exception IOException if the data cannot be read.
     * @see Task#handleInput(byte[], int, int)
     * @since Ant 1.6
     */
public int handleInput(byte[] buffer, int offset, int length) throws IOException {
  if ( [[#variable13105a80]]!= null) {
    return [[#variable13105a80]]. [[#variable13105a00]](buffer, offset, length);
  }
  return super.handleInput(buffer, offset, length);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#13105a80]]
newProject 
12[[#13105a80]]
callee 
21[[#13105a00]]
demuxInput 
22[[#13105a00]]
handleInput