Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.977 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 296 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ccm/CCMCreateTask.java |
2 | 5 | 549 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ejb/BorlandDeploymentTool.java |
| |||||
/** * * @param is the input stream * @exception java.io.IOException on error */ public void setProcessErrorStream(InputStream is) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(is)); String s = reader.readLine(); if (s != null) { log("err " + s, Project.MSG_DEBUG); } // end of if () } |
| |||||
/** * Set the error stream of the process. * @param is the input stream. * @throws IOException if there is an error. */ public void setProcessErrorStream(InputStream is) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(is)); String s = reader.readLine(); if (s != null) { log("[java2iiop] " + s, Project.MSG_ERR); } } |
| |||
/** * Set the error stream of the process. * @param is the input stream. * @throws IOException if there is an error. */ /** * * @param is the input stream * @exception java.io.IOException on error */ public void setProcessErrorStream(InputStream is) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(is)); String s = reader.readLine(); if (s != null) { log( [[#variable100cfda0]] + s, Project. [[#variable100cfc60]]); } // end of if () } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#100cfda0]] | "err " |
1 | 2 | [[#100cfda0]] | "[java2iiop] " |
2 | 1 | [[#100cfc60]] | MSG_DEBUG |
2 | 2 | [[#100cfc60]] | MSG_ERR |