Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.951 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 145 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/EditVariableEntryDialog.java |
2 | 5 | 166 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableCreationDialog.java |
| ||||
private void attachmentChangeControlPressed(DialogField field) { if (field == fFileNameField) { IPath jarFilePath = chooseExtJarFile(); if (jarFilePath != null) { fFileNameField.setText(jarFilePath.toString()); } } } |
| ||||
private void doChangeControlPressed(DialogField field) { if (field == fPathField) { IPath path = chooseExtJarFile(); if (path != null) { fPathField.setText(path.toString()); } } } |
| |||
private void [[#variable64dfd700]](DialogField field) { if (field == [[#variable64dfd680]]) { IPath [[#variable64dfd5e0]]= chooseExtJarFile(); if ( [[#variable64dfd5e0]]!= null) { [[#variable64dfd680]].setText( [[#variable64dfd5e0]].toString()); } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#64dfd700]] | doChangeControlPressed |
1 | 2 | [[#64dfd700]] | attachmentChangeControlPressed |
2 | 1 | [[#64dfd680]] | fPathField |
2 | 2 | [[#64dfd680]] | fFileNameField |
3 | 1 | [[#64dfd5e0]] | path |
3 | 2 | [[#64dfd5e0]] | jarFilePath |