CloneSet5884


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.951class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15145
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/EditVariableEntryDialog.java
25166
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java
Clone Instance
1
Line Count
5
Source Line
145
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/EditVariableEntryDialog.java

        private void attachmentChangeControlPressed(DialogField field) {
                if (field == fFileNameField) {
                        IPath jarFilePath = chooseExtJarFile();
                        if (jarFilePath != null) {
                                fFileNameField.setText(jarFilePath.toString());
                        }
                }
        }


Clone Instance
2
Line Count
5
Source Line
166
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java

        private void doChangeControlPressed(DialogField field) {
                if (field == fPathField) {
                        IPath path = chooseExtJarFile();
                        if (path != null) {
                                fPathField.setText(path.toString());
                        }
                }
        }


Clone AbstractionParameter Count: 3Parameter Bindings

private void [[#variable64dfd700]](DialogField field) {
  if (field == [[#variable64dfd680]]) {
    IPath  [[#variable64dfd5e0]]= chooseExtJarFile();
    if ( [[#variable64dfd5e0]]!= null) {
       [[#variable64dfd680]].setText( [[#variable64dfd5e0]].toString());
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#64dfd700]]
doChangeControlPressed 
12[[#64dfd700]]
attachmentChangeControlPressed 
21[[#64dfd680]]
fPathField 
22[[#64dfd680]]
fFileNameField 
31[[#64dfd5e0]]
path 
32[[#64dfd5e0]]
jarFilePath