CloneSet4996


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10210.986statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110125
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TextFieldNavigationHandler.java
210208
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TextFieldNavigationHandler.java
Clone Instance
1
Line Count
10
Source Line
125
Source File
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();
                                        }
                                                       } );


Clone Instance
2
Line Count
10
Source Line
208
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TextFieldNavigationHandler.java

                        // 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();
                                }
                                                } );


Clone AbstractionParameter Count: 1Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5aa56360]]
fText 
12[[#5aa56360]]
fCombo