CloneSet2082


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11230.956statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111234
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java
211221
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/OptionsConfigurationBlock.java
Clone Instance
1
Line Count
11
Source Line
234
Source File
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java

                if (fProject == null || hasProjectSpecificOptionsNoCache(fProject)) {
                        fDisabledProjectSettings = null;
                }
                else   {
                        fDisabledProjectSettings = new IdentityHashMap<Key, String>();
                        for (int i = 0; i < keys.length; i++) {
                                Key curr = keys[i];
                                fDisabledProjectSettings.put(curr, curr.getStoredValue(fLookupOrder, false, fManager));
                        }
                }
                settingsUpdated();


Clone Instance
2
Line Count
11
Source Line
221
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/OptionsConfigurationBlock.java

                if (fProject == null || hasProjectSpecificOptions(fProject)) {
                        fDisabledProjectSettings = null;
                }
                else   {
                        fDisabledProjectSettings = new IdentityHashMap();
                        for (int i = 0; i < allKeys.length; i++) {
                                Key curr = allKeys[i];
                                fDisabledProjectSettings.put(curr, curr.getStoredValue(fLookupOrder, false, fManager));
                        }
                }
                settingsUpdated();


Clone AbstractionParameter Count: 3Parameter Bindings

if (fProject == null || [[#variable9c953aa0]](fProject)) {
  fDisabledProjectSettings = null;
}
else {
  fDisabledProjectSettings = new [[#variable9c953a00]]();
  for (int i = 0; i <  [[#variableb9c7e5a0]].length; i++) {
    Key curr = [[#variableb9c7e5a0]][i];
    fDisabledProjectSettings.put(curr, curr.getStoredValue(fLookupOrder, false, fManager));
  }
}
settingsUpdated();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9c953aa0]]
hasProjectSpecificOptionsNoCache 
12[[#9c953aa0]]
hasProjectSpecificOptions 
21[[#9c953a00]]
IdentityHashMap<Key,String> 
22[[#9c953a00]]
IdentityHashMap 
31[[#b9c7e5a0]]
keys 
32[[#b9c7e5a0]]
allKeys