CloneSet1925


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.969executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17919
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java
27690
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/OptionsConfigurationBlock.java
Clone Instance
1
Line Count
7
Source Line
919
Source File
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java

                               {
                                fDisabledProjectSettings = new IdentityHashMap<Key, String>();
                                for (int i = 0; i < fAllKeys.length; i++) {
                                        Key curr = fAllKeys[i];
                                        String oldSetting = curr.getStoredValue(fLookupOrder, false, fManager);
                                        fDisabledProjectSettings.put(curr, oldSetting);
                                        curr.setStoredValue(fLookupOrder[0], null, fManager); // clear project settings
                                }
                               }


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

                               {
                                fDisabledProjectSettings = new IdentityHashMap();
                                for (int i = 0; i < fAllKeys.length; i++) {
                                        Key curr = fAllKeys[i];
                                        String oldSetting = curr.getStoredValue(fLookupOrder, false, fManager);
                                        fDisabledProjectSettings.put(curr, oldSetting);
                                        curr.setStoredValue(fLookupOrder[0], null, fManager); // clear project settings
                                }
                               }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  fDisabledProjectSettings = new [[#variable570a4580]]();
  for (int i = 0; i < fAllKeys.length; i++) {
    Key curr = fAllKeys[i];
    String oldSetting = curr.getStoredValue(fLookupOrder, false, fManager);
    fDisabledProjectSettings.put(curr, oldSetting);
    curr.setStoredValue(fLookupOrder[0], null, fManager); // clear project settings
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#570a4580]]
IdentityHashMap<Key,String> 
12[[#570a4580]]
IdentityHashMap