Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 1 | 0.986 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 125 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TextFieldNavigationHandler.java |
2 | 10 | 208 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TextFieldNavigationHandler.java |
| ||||
fLastSelection = getSelection(); fCaretPosition = fLastSelection.y; fText.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent e) { selectionChanged(); } } ); fText.addMouseListener(new MouseAdapter() { public void mouseUp(MouseEvent e) { selectionChanged(); } } ); |
| ||||
// workaround for bug 103630: fLastSelection = getSelection(); fCaretPosition = fLastSelection.y; fCombo.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent e) { selectionChanged(); } } ); fCombo.addMouseListener(new MouseAdapter() { public void mouseUp(MouseEvent e) { selectionChanged(); } } ); |
| |||
// workaround for bug 103630: fLastSelection = getSelection(); fCaretPosition = fLastSelection.y; [[#variable5aa56360]].addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent e) { selectionChanged(); } } ); [[#variable5aa56360]].addMouseListener(new MouseAdapter() { public void mouseUp(MouseEvent e) { selectionChanged(); } } ); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5aa56360]] | fText |
1 | 2 | [[#5aa56360]] | fCombo |