Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 3 | 2 | 0.978 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 584 | plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/FactoryPathConfigurationBlock.java |
2 | 6 | 622 | plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/FactoryPathConfigurationBlock.java |
3 | 6 | 659 | 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; |
| ||||
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; |
| ||||
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; |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a53bdea0]] | newWkspJarFactoryContainer |
1 | 2 | [[#a53bdea0]] | newExtJarFactoryContainer |
1 | 3 | [[#a53bdea0]] | newVarJarFactoryContainer |
2 | 1 | [[#a53bde00]] | result |
2 | 2 | [[#a53bde00]] | result.toFile() |
2 | 3 | [[#a53bde00]] | result |