CloneSet2470


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.996block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17233
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/DeleteModifications.java
27454
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java
Clone Instance
1
Line Count
7
Source Line
233
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/DeleteModifications.java

                                                                                             {
                final IPackageFragment[] subPackages = JavaElementUtil.getPackageAndSubpackages(pack);
                for (int i = 0; i < subPackages.length; i++) {
                        if ( !(subPackages[i].equals(pack)) && !(fPackagesToDelete.contains(subPackages[i])))
                                return false;
                }
                return true;
                                                                                             }


Clone Instance
2
Line Count
7
Source Line
454
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaDeleteProcessor.java

                                                                                                                    {
                final IPackageFragment[] subPackages = JavaElementUtil.getPackageAndSubpackages(pack);
                for (int i = 0; i < subPackages.length; i++) {
                        if ( !(subPackages[i].equals(pack)) && !(packagesToDelete.contains(subPackages[i])))
                                return false;
                }
                return true;
                                                                                                                    }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  final IPackageFragment[] subPackages = JavaElementUtil.getPackageAndSubpackages(pack);
  for (int i = 0; i < subPackages.length; i++) {
    if ( !(subPackages[i].equals(pack)) && !( [[#variable96277fe0]].contains(subPackages[i])))
      return false;
  }
  return true;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#96277fe0]]
packagesToDelete 
12[[#96277fe0]]
fPackagesToDelete