CloneSet2655


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.996statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16848
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/util/AptConfig.java
25862
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/util/AptConfig.java
Clone Instance
1
Line Count
6
Source Line
848
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/util/AptConfig.java

                IScopeContext context = (null != jproject) ?
                                new ProjectScope(jproject.getProject()):  new InstanceScope();
                IEclipsePreferences node = context.getNode(AptPlugin.PLUGIN_ID);
                // get old val as a String, so it can be null if setting doesn't exist yet
                String oldValue = node.get(optionName, null);
                node.putBoolean(optionName, value);


Clone Instance
2
Line Count
5
Source Line
862
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/util/AptConfig.java

                IScopeContext context = (null != jproject) ?
                                new ProjectScope(jproject.getProject()):  new InstanceScope();
                IEclipsePreferences node = context.getNode(AptPlugin.PLUGIN_ID);
                String oldValue = node.get(optionName, null);
                node.put(optionName, value);


Clone AbstractionParameter Count: 1Parameter Bindings

IScopeContext context = (null != jproject) ? new ProjectScope(jproject.getProject()): new InstanceScope();
IEclipsePreferences node = context.getNode(AptPlugin.PLUGIN_ID);
// get old val as a String, so it can be null if setting doesn't exist yet
String oldValue = node.get(optionName, null);
node. [[#variable64729280]](optionName, value);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#64729280]]
put 
12[[#64729280]]
putBoolean