CloneSet6206


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.983statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1673
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/CodeStyleConfiguration.java
2682
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/CodeStyleConfiguration.java
Clone Instance
1
Line Count
6
Source Line
73
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/CodeStyleConfiguration.java

                try {
                        int num = Integer.parseInt(thres);
                        if (num == 0)
                                num = 1;
                        rewrite.setOnDemandImportThreshold(num);
                } catch (NumberFormatException e) {
                        // ignore
                  }


Clone Instance
2
Line Count
6
Source Line
82
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/CodeStyleConfiguration.java

                try {
                        int num = Integer.parseInt(thresStatic);
                        if (num == 0)
                                num = 1;
                        rewrite.setStaticOnDemandImportThreshold(num);
                } catch (NumberFormatException e) {
                        // ignore
                  }


Clone AbstractionParameter Count: 2Parameter Bindings

try {
  int num = Integer.parseInt( [[#variable5d8166a0]]);
  if (num == 0)
    num = 1;
  rewrite. [[#variable5d816700]](num);
}
catch (NumberFormatException e) {
// ignore
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5d8166a0]]
thresStatic 
12[[#5d8166a0]]
thres 
21[[#5d816700]]
setStaticOnDemandImportThreshold 
22[[#5d816700]]
setOnDemandImportThreshold