CloneSet2043


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.993statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13850
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
23120
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddFolderToBuildpathAction.java
Clone Instance
1
Line Count
3
Source Line
850
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java

                                                String title = NewWizardMessages.BuildPathsBlock_RemoveBinariesDialog_title;
                                                String message = Messages.format(NewWizardMessages.BuildPathsBlock_RemoveBinariesDialog_description, oldOutputLocation.toString());
                                                MessageDialog dialog = new MessageDialog(sh, title, null, message, MessageDialog.QUESTION, new String[] {
                                                                                                                                                          IDialogConstants.YES_LABEL, IDialogConstants.NO_LABEL, IDialogConstants.CANCEL_LABEL
                                                                                                                                                        },                                                                                        0);


Clone Instance
2
Line Count
3
Source Line
120
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddFolderToBuildpathAction.java

                                                String title = NewWizardMessages.BuildPathsBlock_RemoveBinariesDialog_title;
                                                String message = Messages.format(NewWizardMessages.BuildPathsBlock_RemoveBinariesDialog_description, projPath.toString());
                                                MessageDialog dialog = new MessageDialog(shell, title, null, message, MessageDialog.QUESTION, new String[] {
                                                                                                                                                             IDialogConstants.YES_LABEL, IDialogConstants.NO_LABEL, IDialogConstants.CANCEL_LABEL
                                                                                                                                                           },                                                                                        0);


Clone AbstractionParameter Count: 2Parameter Bindings

String title = NewWizardMessages.BuildPathsBlock_RemoveBinariesDialog_title;
String message = Messages.format(NewWizardMessages.BuildPathsBlock_RemoveBinariesDialog_description,  [[#variablebb5f5bc0]].toString());
MessageDialog dialog = new MessageDialog( [[#variablebb5f5da0]], title, null, message, MessageDialog.QUESTION, new String[] {
                                                                                                                              IDialogConstants.YES_LABEL,
                                                                                                                              IDialogConstants.NO_LABEL,
                                                                                                                              IDialogConstants.CANCEL_LABEL
                                                                                                                            }, 0);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bb5f5bc0]]
oldOutputLocation 
12[[#bb5f5bc0]]
projPath 
21[[#bb5f5da0]]
sh 
22[[#bb5f5da0]]
shell