CloneSet1470


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6320.978statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16584
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/FactoryPathConfigurationBlock.java
26622
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/FactoryPathConfigurationBlock.java
36659
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/FactoryPathConfigurationBlock.java
Clone Instance
1
Line Count
6
Source Line
584
Source File
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/FactoryPathConfigurationBlock.java

                                FactoryPathEntry[] edited = new FactoryPathEntry[1];
                                FactoryContainer fc = FactoryPathUtil.newWkspJarFactoryContainer(result);
                                // Use prior value for isEnabled.  Assume default of runInAptMode=false
                                FactoryPath.Attributes attr = new FactoryPath.Attributes(original._attr.isEnabled(), false);
                                edited[0] = new FactoryPathEntry(fc, attr);
                                return edited;


Clone Instance
2
Line Count
6
Source Line
622
Source File
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/FactoryPathConfigurationBlock.java

                        FactoryPathEntry[] edited = new FactoryPathEntry[1];
                        FactoryContainer fc = FactoryPathUtil.newExtJarFactoryContainer(result.toFile());
                        // Use prior value for isEnabled.  Assume default of runInAptMode=false
                        FactoryPath.Attributes attr = new FactoryPath.Attributes(original._attr.isEnabled(), false);
                        edited[0] = new FactoryPathEntry(fc, attr);
                        return edited;


Clone Instance
3
Line Count
6
Source Line
659
Source File
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/FactoryPathConfigurationBlock.java

                        FactoryPathEntry[] edited = new FactoryPathEntry[1];
                        FactoryContainer fc = FactoryPathUtil.newVarJarFactoryContainer(result);
                        // Use prior value for isEnabled.  Assume default of runInAptMode=false
                        FactoryPath.Attributes attr = new FactoryPath.Attributes(original._attr.isEnabled(), false);
                        edited[0] = new FactoryPathEntry(fc, attr);
                        return edited;


Clone AbstractionParameter Count: 2Parameter Bindings

FactoryPathEntry[] edited = new FactoryPathEntry[1];
FactoryContainer fc = FactoryPathUtil. [[#variablea53bdea0]]( [[#variablea53bde00]]);
// Use prior value for isEnabled.  Assume default of runInAptMode=false
FactoryPath.Attributes attr = new FactoryPath.Attributes(original._attr.isEnabled(), false);
edited[0] = new FactoryPathEntry(fc, attr);
return edited;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a53bdea0]]
newWkspJarFactoryContainer 
12[[#a53bdea0]]
newExtJarFactoryContainer 
13[[#a53bdea0]]
newVarJarFactoryContainer 
21[[#a53bde00]]
result 
22[[#a53bde00]]
result.toFile() 
23[[#a53bde00]]
result