CloneSet4096


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.988class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
162766
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java
262779
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java
Clone Instance
1
Line Count
6
Source Line
2766
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java

        /*
         * Reset project options stored in info cache.
         */
        public void resetProjectOptions(JavaProject javaProject) {
                synchronized (this.perProjectInfos) { // use the perProjectInfo collection as its own lock
                        IProject project = javaProject.getProject();
                        PerProjectInfo info = (PerProjectInfo) this.perProjectInfos.get(project);
                        if (info != null) {
                                info.options = null;
                        }
                }
        }


Clone Instance
2
Line Count
6
Source Line
2779
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java

        /*
         * Reset project preferences stored in info cache.
         */
        public void resetProjectPreferences(JavaProject javaProject) {
                synchronized (this.perProjectInfos) { // use the perProjectInfo collection as its own lock
                        IProject project = javaProject.getProject();
                        PerProjectInfo info = (PerProjectInfo) this.perProjectInfos.get(project);
                        if (info != null) {
                                info.preferences = null;
                        }
                }
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/*
         * Reset project options stored in info cache.
         */
/*
         * Reset project preferences stored in info cache.
         */
public void [[#variable9e7fd820]](JavaProject javaProject) {
  synchronized (this.perProjectInfos) { // use the perProjectInfo collection as its own lock
    IProject project = javaProject.getProject();
    PerProjectInfo info = (PerProjectInfo) this.perProjectInfos.get(project);
    if (info != null) {
      info. [[#variable9e7fd780]]= null;
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9e7fd820]]
resetProjectOptions 
12[[#9e7fd820]]
resetProjectPreferences 
21[[#9e7fd780]]
options 
22[[#9e7fd780]]
preferences