Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.966 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 486 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorHoverConfigurationBlock.java |
2 | 4 | 235 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavaEditorTextHoverDescriptor.java |
| ||||
try { fHoverConfigs[i].fStateMask = Integer.parseInt((String) idToModifierMask.get(getContributedHovers()[i].getId())); } catch (NumberFormatException ex) { fHoverConfigs[i].fStateMask = -1; } |
| ||||
// Fallback: use stored modifier masks try { hovers[i].fStateMask = Integer.parseInt((String) idToModifierMask.get(hovers[i].getId())); } catch (NumberFormatException ex) { hovers[i].fStateMask = -1; } |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a2a95f00]] | fHoverConfigs |
1 | 2 | [[#a2a95f00]] | hovers |
2 | 1 | [[#64056000]] | getContributedHovers() |
2 | 2 | [[#64056000]] | hovers |