| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 7 | 2 | 0 | 1.000 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 7 | 53 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/comment/SubstitutionTextReader.java |
| 2 | 7 | 53 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/javadoc/SingleCharReader.java |
| ||||
/**
* Gets the content as a String
*/
public String getString() throws IOException {
StringBuffer buf = new StringBuffer();
int ch;
while ((ch = read()) != -1) {
buf.append((char) ch);
}
return buf.toString();
}
|
| ||||
/**
* Gets the content as a String
*/
public String getString() throws IOException {
StringBuffer buf = new StringBuffer();
int ch;
while ((ch = read()) != -1) {
buf.append((char) ch);
}
return buf.toString();
}
|
| |||
/**
* Gets the content as a String
*/
public String getString() throws IOException {
StringBuffer buf = new StringBuffer();
int ch;
while ((ch = read()) != -1) {
buf.append((char) ch);
}
return buf.toString();
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| None | |||