CloneSet4873


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.966statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14486
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorHoverConfigurationBlock.java
24235
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavaEditorTextHoverDescriptor.java
Clone Instance
1
Line Count
4
Source Line
486
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorHoverConfigurationBlock.java

                                try {
                                        fHoverConfigs[i].fStateMask = Integer.parseInt((String) idToModifierMask.get(getContributedHovers()[i].getId()));
                                } catch (NumberFormatException ex) {
                                        fHoverConfigs[i].fStateMask = -1;
                                  }


Clone Instance
2
Line Count
4
Source Line
235
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavaEditorTextHoverDescriptor.java

                                // Fallback: use stored modifier masks
                                try {
                                        hovers[i].fStateMask = Integer.parseInt((String) idToModifierMask.get(hovers[i].getId()));
                                } catch (NumberFormatException ex) {
                                        hovers[i].fStateMask = -1;
                                  }


Clone AbstractionParameter Count: 2Parameter Bindings

// Fallback: use stored modifier masks
try {
   [[#variablea2a95f00]][i].fStateMask = Integer.parseInt((String) idToModifierMask.get( [[#variable64056000]][i].getId()));
}
catch (NumberFormatException ex) {
   [[#variablea2a95f00]][i].fStateMask = -1;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a2a95f00]]
fHoverConfigs 
12[[#a2a95f00]]
hovers 
21[[#64056000]]
getContributedHovers() 
22[[#64056000]]
hovers