CloneSet5069


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6201.000class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16616
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java
26187
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ParentChecker.java
Clone Instance
1
Line Count
6
Source Line
616
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java

        private void removeFromSetToDelete(IResource[] resourcesToNotDelete) {
                fResources = ReorgUtils.setMinus(fResources, resourcesToNotDelete);
        }

        private void removeFromSetToDelete(IJavaElement[] elementsToNotDelete) {
                fJavaElements = ReorgUtils.setMinus(fJavaElements, elementsToNotDelete);
        }


Clone Instance
2
Line Count
6
Source Line
187
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ParentChecker.java

        private void removeFromSetToDelete(IResource[] resourcesToNotDelete) {
                fResources = ReorgUtils.setMinus(fResources, resourcesToNotDelete);
        }

        private void removeFromSetToDelete(IJavaElement[] elementsToNotDelete) {
                fJavaElements = ReorgUtils.setMinus(fJavaElements, elementsToNotDelete);
        }


Clone AbstractionParameter Count: 0Parameter Bindings

private void removeFromSetToDelete(IResource[] resourcesToNotDelete) {
  fResources = ReorgUtils.setMinus(fResources, resourcesToNotDelete);
}

private void removeFromSetToDelete(IJavaElement[] elementsToNotDelete) {
  fJavaElements = ReorgUtils.setMinus(fJavaElements, elementsToNotDelete);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None