| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 9 | 2 | 1 | 0.996 | statement_sequence[4] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 9 | 367 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/TypeContextChecker.java |
| 2 | 9 | 469 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/TypeContextChecker.java |
| ||||
if (problemsCollector.size() == 0)
return null;
RefactoringStatus result = new RefactoringStatus();
for (Iterator iter = problemsCollector.iterator(); iter.hasNext();) {
String msg = Messages.format(RefactoringCoreMessages.TypeContextChecker_invalid_return_type_syntax, new String[] {
newTypeName, (String) iter.next()
} );
result.addError(msg);
}
return result;
|
| ||||
if (problemsCollector.size() == 0)
return null;
RefactoringStatus result = new RefactoringStatus();
for (Iterator iter = problemsCollector.iterator(); iter.hasNext();) {
String msg = Messages.format(RefactoringCoreMessages.TypeContextChecker_invalid_type_syntax, new String[] {
newTypeName, (String) iter.next()
} );
result.addError(msg);
}
return result;
|
| |||
if (problemsCollector.size() == 0)
return null;
RefactoringStatus result = new RefactoringStatus();
for (Iterator iter = problemsCollector.iterator(); iter.hasNext();) {
String msg = Messages.format(RefactoringCoreMessages. [[#variablea192eba0]], new String[] {
newTypeName,
(String) iter.next()
} );
result.addError(msg);
}
return result;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#a192eba0]] | TypeContextChecker_invalid_type_syntax |
| 1 | 2 | [[#a192eba0]] | TypeContextChecker_invalid_return_type_syntax |