| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 3 | 0.956 | statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 777 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileManager.java |
| 2 | 5 | 804 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileManager.java |
| ||||
if ( !removedProfile.isSharedProfile()) {
updateProfilesWithName(removedProfile.getID(), null, false);
}
notifyObservers(PROFILE_DELETED_EVENT);
|
| ||||
if ( !oldProfile.isSharedProfile()) {
updateProfilesWithName(oldProfile.getID(), null, false);
}
setSelected(newProfile);
|
| |||
if ( ! [[#variable503dd4e0]].isSharedProfile()) {
updateProfilesWithName( [[#variable503dd4e0]].getID(), null, false);
}
[[#variable503dd4a0]]( [[#variable503dd5c0]]);
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#503dd4e0]] | removedProfile |
| 1 | 2 | [[#503dd4e0]] | oldProfile |
| 2 | 1 | [[#503dd4a0]] | notifyObservers |
| 2 | 2 | [[#503dd4a0]] | setSelected |
| 3 | 1 | [[#503dd5c0]] | PROFILE_DELETED_EVENT |
| 3 | 2 | [[#503dd5c0]] | newProfile |