CloneSet3475


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9250.963statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19160
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java
29156
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/WhiteSpaceTabPage.java
Clone Instance
1
Line Count
9
Source Line
160
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java

                        try {
                                index = fDialogSettings.getInt(PREF_CATEGORY_INDEX);
                        } catch (NumberFormatException ex) {
                                index = -1;
                          }
                        if (index < 0 || index > fCategoriesList.size() - 1) {
                                index = 1; // In order to select a category with preview initially
                        }
                        final Category category = (Category) fCategoriesList.get(index);


Clone Instance
2
Line Count
9
Source Line
156
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/WhiteSpaceTabPage.java

                        try {
                                index = fDialogSettings.getInt(PREF_NODE_KEY);
                        } catch (NumberFormatException ex) {
                                index = -1;
                          }
                        if (index < 0 || index > fIndexedNodeList.size() - 1) {
                                index = 0;
                        }
                        final Node node = (Node) fIndexedNodeList.get(index);


Clone AbstractionParameter Count: 5Parameter Bindings

try {
  index = fDialogSettings.getInt( [[#variablea0f029c0]]);
}
catch (NumberFormatException ex) {
  index = -1;
}
if (index < 0 || index >  [[#variablea0f02900]].size() - 1) {
  index = [[#variablea0855520]]; // In order to select a category with preview initially
}
final [[#variablea0f02940]]  [[#variable6000c300]]= ( [[#variablea0f02940]])  [[#variablea0f02900]].get(index);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a0f029c0]]
PREF_NODE_KEY 
12[[#a0f029c0]]
PREF_CATEGORY_INDEX 
21[[#a0f02900]]
fIndexedNodeList 
22[[#a0f02900]]
fCategoriesList 
31[[#a0855520]]
0 
32[[#a0855520]]
1 
41[[#a0f02940]]
Node 
42[[#a0f02940]]
Category 
51[[#6000c300]]
node 
52[[#6000c300]]
category