Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.996 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 848 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/util/AptConfig.java |
2 | 5 | 862 | 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); |
| ||||
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); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#64729280]] | put |
1 | 2 | [[#64729280]] | putBoolean |