CloneSet8039


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.956statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15777
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileManager.java
25804
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileManager.java
Clone Instance
1
Line Count
5
Source Line
777
Source File
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);


Clone Instance
2
Line Count
5
Source Line
804
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileManager.java

                if ( !oldProfile.isSharedProfile()) {
                        updateProfilesWithName(oldProfile.getID(), null, false);
                }

                setSelected(newProfile);


Clone AbstractionParameter Count: 3Parameter Bindings

if ( ! [[#variable503dd4e0]].isSharedProfile()) {
  updateProfilesWithName( [[#variable503dd4e0]].getID(), null, false);
}
 [[#variable503dd4a0]]( [[#variable503dd5c0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#503dd4e0]]
removedProfile 
12[[#503dd4e0]]
oldProfile 
21[[#503dd4a0]]
notifyObservers 
22[[#503dd4a0]]
setSelected 
31[[#503dd5c0]]
PROFILE_DELETED_EVENT 
32[[#503dd5c0]]
newProfile