CloneSet6039


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.992class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15161
plugins/org.eclipse.jdt.launching.macosx/macosx/org/eclipse/jdt/internal/ui/macbundler/BundleWizardBasePage.java
25170
plugins/org.eclipse.jdt.launching.macosx/macosx/org/eclipse/jdt/internal/ui/macbundler/BundleWizardBasePage.java
Clone Instance
1
Line Count
5
Source Line
161
Source File
plugins/org.eclipse.jdt.launching.macosx/macosx/org/eclipse/jdt/internal/ui/macbundler/BundleWizardBasePage.java

        void hookField( final Text tf, final String key) {
                tf.addModifyListener(new ModifyListener() {
                        public void modifyText(ModifyEvent e) {
                                fBundleDescription.setValue(key, tf.getText());
                                checkIfPageComplete();
                        }
                                     } );
        }


Clone Instance
2
Line Count
5
Source Line
170
Source File
plugins/org.eclipse.jdt.launching.macosx/macosx/org/eclipse/jdt/internal/ui/macbundler/BundleWizardBasePage.java

        void hookField( final Combo tf, final String key) {
                tf.addModifyListener(new ModifyListener() {
                        public void modifyText(ModifyEvent e) {
                                fBundleDescription.setValue(key, tf.getText());
                                checkIfPageComplete();
                        }
                                     } );
        }


Clone AbstractionParameter Count: 1Parameter Bindings

void hookField( final [[#variable77af8b80]] tf, final String key) {
  tf.addModifyListener(new ModifyListener() {
                         public void modifyText(ModifyEvent e) {
                           fBundleDescription.setValue(key, tf.getText());
                           checkIfPageComplete();
                         }
                       } );
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#77af8b80]]
Text 
12[[#77af8b80]]
Combo