CloneSet1749


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8230.961statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18107
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/SearchUtil.java
28191
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchUtil.java
Clone Instance
1
Line Count
8
Source Line
107
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/SearchUtil.java

                boolean foundLRU = false;
                String[] lruWorkingSetNames = SearchUtil.fgSettingsStore.getArray(SearchUtil.STORE_LRU_WORKING_SET_NAMES);
                if (lruWorkingSetNames != null) {
                        for (int i = lruWorkingSetNames.length - 1; i >= 0; i--) {
                                IWorkingSet workingSet = PlatformUI.getWorkbench().getWorkingSetManager().getWorkingSet(lruWorkingSetNames[i]);
                                if (workingSet != null) {
                                        foundLRU = true;
                                        SearchUtil.fgLRUWorkingSets.add(new IWorkingSet[] {
                                                                                           workingSet
                                                                                          } );
                                }
                        }
                }


Clone Instance
2
Line Count
8
Source Line
191
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchUtil.java

                boolean foundLRU = false;
                String[] lruWorkingSetNames = settingsStore.getArray(STORE_LRU_WORKING_SET_NAMES);
                if (lruWorkingSetNames != null) {
                        for (int i = lruWorkingSetNames.length - 1; i >= 0; i--) {
                                IWorkingSet workingSet = PlatformUI.getWorkbench().getWorkingSetManager().getWorkingSet(lruWorkingSetNames[i]);
                                if (workingSet != null) {
                                        foundLRU = true;
                                        fgLRUWorkingSets.add(new IWorkingSet[] {
                                                                                workingSet
                                                                               } );
                                }
                        }
                }


Clone AbstractionParameter Count: 3Parameter Bindings

boolean foundLRU = false;
String[] lruWorkingSetNames = [[#variable97b6a060]].getArray( [[#variable9a7340c0]]);
if (lruWorkingSetNames != null) {
  for (int i = lruWorkingSetNames.length - 1; i >= 0; i--) {
    IWorkingSet workingSet = PlatformUI.getWorkbench().getWorkingSetManager().getWorkingSet(lruWorkingSetNames[i]);
    if (workingSet != null) {
      foundLRU = true;
       [[#variable9a734100]].add(new IWorkingSet[] {
                                                     workingSet
                                                   } );
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#97b6a060]]
SearchUtil.fgSettingsStore 
12[[#97b6a060]]
settingsStore 
21[[#9a7340c0]]
SearchUtil.STORE_LRU_WORKING_SET_NAMES 
22[[#9a7340c0]]
STORE_LRU_WORKING_SET_NAMES 
31[[#9a734100]]
SearchUtil.fgLRUWorkingSets 
32[[#9a734100]]
fgLRUWorkingSets