Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.953 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 180 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/PumpStreamHandler.java |
2 | 2 | 189 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/PumpStreamHandler.java |
| |||||
/** * Create the pump to handle process output. * @param is the <code>InputStream</code>. * @param os the <code>OutputStream</code>. */ protected void createProcessOutputPump(InputStream is, OutputStream os) { outputThread = createPump(is, os); } |
| |||||
/** * Create the pump to handle error output. * @param is the input stream to copy from. * @param os the output stream to copy to. */ protected void createProcessErrorPump(InputStream is, OutputStream os) { errorThread = createPump(is, os); } |
| |||
/** * Create the pump to handle error output. * @param is the input stream to copy from. * @param os the output stream to copy to. */ /** * Create the pump to handle process output. * @param is the <code>InputStream</code>. * @param os the <code>OutputStream</code>. */ protected void [[#variable130f6de0]](InputStream is, OutputStream os) { [[#variable130f6d80]]= createPump(is, os); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#130f6de0]] | createProcessOutputPump |
1 | 2 | [[#130f6de0]] | createProcessErrorPump |
2 | 1 | [[#130f6d80]] | outputThread |
2 | 2 | [[#130f6d80]] | errorThread |