Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.988 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 2766 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java |
2 | 6 | 2779 | 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; } } } |
| ||||
/* * 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; } } } |
| |||
/* * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9e7fd820]] | resetProjectOptions |
1 | 2 | [[#9e7fd820]] | resetProjectPreferences |
2 | 1 | [[#9e7fd780]] | options |
2 | 2 | [[#9e7fd780]] | preferences |