| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 7 | 2 | 3 | 0.978 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 7 | 183 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/RecentSettingsStore.java |
| 2 | 6 | 192 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/RecentSettingsStore.java |
| ||||
//for now if multiple projects are selected the destination
//feild will be empty,
public String getDestination(IJavaProject project) {
ProjectData data = (ProjectData) fPerProjectSettings.get(project);
if (data != null)
return data.getDestination();
else
return getDefaultDestination(project);
}
|
| ||||
public String getAntpath(IJavaProject project) {
ProjectData data = (ProjectData) fPerProjectSettings.get(project);
if (data != null)
return data.getAntPath();
else
return getDefaultAntPath(project);
}
|
| |||
//for now if multiple projects are selected the destination
//feild will be empty,
public String [[#variablea428bd60]](IJavaProject project) {
ProjectData data = (ProjectData) fPerProjectSettings.get(project);
if (data != null)
return data. [[#variablea428bd40]]();
else
return [[#variablea428be00]](project);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#a428bd60]] | getDestination |
| 1 | 2 | [[#a428bd60]] | getAntpath |
| 2 | 1 | [[#a428bd40]] | getDestination |
| 2 | 2 | [[#a428bd40]] | getAntPath |
| 3 | 1 | [[#a428be00]] | getDefaultDestination |
| 3 | 2 | [[#a428be00]] | getDefaultAntPath |