Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 3 | 0.956 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 234 | plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java |
2 | 11 | 221 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/OptionsConfigurationBlock.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(); |
| ||||
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(); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9c953aa0]] | hasProjectSpecificOptionsNoCache |
1 | 2 | [[#9c953aa0]] | hasProjectSpecificOptions |
2 | 1 | [[#9c953a00]] | IdentityHashMap<Key,String> |
2 | 2 | [[#9c953a00]] | IdentityHashMap |
3 | 1 | [[#b9c7e5a0]] | keys |
3 | 2 | [[#b9c7e5a0]] | allKeys |