CloneSet5456


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4201.000executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14103
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/RemoveFromClasspathOperation.java
24238
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/RemoveFromBuildpathAction.java
Clone Instance
1
Line Count
4
Source Line
103
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/RemoveFromClasspathOperation.java

                   if (element instanceof IPackageFragmentRoot) {
                                IClasspathEntry entry = ((IPackageFragmentRoot) element).getRawClasspathEntry();
                                if (entry != null && entry.getEntryKind() == IClasspathEntry.CPE_CONTAINER) {
                                        return false;
                                }
                   }


Clone Instance
2
Line Count
4
Source Line
238
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/RemoveFromBuildpathAction.java

                                       if (element instanceof IPackageFragmentRoot) {
                                        IClasspathEntry entry = ((IPackageFragmentRoot) element).getRawClasspathEntry();
                                        if (entry != null && entry.getEntryKind() == IClasspathEntry.CPE_CONTAINER) {
                                                return false;
                                        }
                                       }


Clone AbstractionParameter Count: 0Parameter Bindings

if (element instanceof IPackageFragmentRoot) {
  IClasspathEntry entry = ((IPackageFragmentRoot) element).getRawClasspathEntry();
  if (entry != null && entry.getEntryKind() == IClasspathEntry.CPE_CONTAINER) {
    return false;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None