CloneSet2249


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9210.996statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19367
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/TypeContextChecker.java
29469
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/TypeContextChecker.java
Clone Instance
1
Line Count
9
Source Line
367
Source File
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;


Clone Instance
2
Line Count
9
Source Line
469
Source File
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_type_syntax, new String[] {
                                                                                                                                   newTypeName, (String) iter.next()
                                                                                                                                  } );
                        result.addError(msg);
                }
                return result;


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a192eba0]]
TypeContextChecker_invalid_type_syntax 
12[[#a192eba0]]
TypeContextChecker_invalid_return_type_syntax