CloneSet5951


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000switch_groups[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1988
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ModelUpdater.java
28136
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ModelUpdater.java
Clone Instance
1
Line Count
9
Source Line
88
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ModelUpdater.java

                        case IJavaElement.PACKAGE_FRAGMENT_ROOT:
                                // when a root is added, and is on the classpath, the project must be updated
                                this.projectsToUpdate.add(element.getJavaProject());
                                break;
                        case IJavaElement.PACKAGE_FRAGMENT:
                                // get rid of package fragment cache
                                JavaProject project = (JavaProject) element.getJavaProject();
                                project.resetCaches();
                                break;


Clone Instance
2
Line Count
8
Source Line
136
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ModelUpdater.java

                        case IJavaElement.PACKAGE_FRAGMENT_ROOT:
                                this.projectsToUpdate.add(element.getJavaProject());
                                break;
                        case IJavaElement.PACKAGE_FRAGMENT:
                                // get rid of package fragment cache
                                JavaProject project = (JavaProject) element.getJavaProject();
                                project.resetCaches();
                                break;


Clone AbstractionParameter Count: 0Parameter Bindings

case IJavaElement.PACKAGE_FRAGMENT_ROOT:
  // when a root is added, and is on the classpath, the project must be updated
  this.projectsToUpdate.add(element.getJavaProject());
  break;
case IJavaElement.PACKAGE_FRAGMENT:
  // get rid of package fragment cache
  JavaProject project = (JavaProject) element.getJavaProject();
  project.resetCaches();
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None