CloneSet3938


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16216
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringSearchEngine.java
27348
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java
Clone Instance
1
Line Count
6
Source Line
216
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringSearchEngine.java

        private static boolean containsStatusEntry( final RefactoringStatus status, final RefactoringStatusEntry other) {
                return status.getEntries(new IRefactoringStatusEntryComparator() {
                        public final int compare( final RefactoringStatusEntry entry1, final RefactoringStatusEntry entry2) {
                                return entry1.getMessage().compareTo(entry2.getMessage());
                        }
                                         }, other).length > 0;
        }


Clone Instance
2
Line Count
7
Source Line
348
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java

        private static boolean containsStatusEntry( final RefactoringStatus status, final RefactoringStatusEntry other) {
                return status.getEntries(new IRefactoringStatusEntryComparator() {

                        public final int compare( final RefactoringStatusEntry entry1, final RefactoringStatusEntry entry2) {
                                return entry1.getMessage().compareTo(entry2.getMessage());
                        }
                                         }, other).length > 0;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

private static boolean containsStatusEntry( final RefactoringStatus status, final RefactoringStatusEntry other) {
  return status.getEntries(new IRefactoringStatusEntryComparator() {
                             public final int compare( final RefactoringStatusEntry entry1, final RefactoringStatusEntry entry2) {
                               return entry1.getMessage().compareTo(entry2.getMessage());
                             }
                           }, other).length > 0;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None