CloneSet699


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

/**
 * Converts the buffer to a string and sends it to the project.
 *
 * @param buffer the ByteArrayOutputStream used to collect the output
 * until a line separator is seen.
 *
 * @see Project#demuxOutput(String,boolean)
 */
protected void processBuffer(ByteArrayOutputStream buffer) {
  String output = buffer.toString();
  project.demuxOutput(output, isErrorStream);
  resetBufferInfo();
}


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

/**
 * Converts the buffer to a string and sends it to the project.
 *
 * @param buffer the ByteArrayOutputStream used to collect the output
 * until a line separator is seen.
 *
 * @see Project#demuxOutput(String,boolean)
 */
protected void processFlush(ByteArrayOutputStream buffer) {
  String output = buffer.toString();
  project.demuxFlush(output, isErrorStream);
  resetBufferInfo();
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Converts the buffer to a string and sends it to the project.
     *
     * @param buffer the ByteArrayOutputStream used to collect the output
     * until a line separator is seen.
     *
     * @see Project#demuxOutput(String,boolean)
     */
protected void [[#variable1305c280]](ByteArrayOutputStream buffer) {
  String output = buffer.toString();
  project. [[#variable1305c2a0]](output, isErrorStream);
  resetBufferInfo();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1305c280]]
processBuffer 
12[[#1305c280]]
processFlush 
21[[#1305c2a0]]
demuxOutput 
22[[#1305c2a0]]
demuxFlush