CloneSet3905


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.994statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16259
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/AppletMainTab.java
27380
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/JavaConnectTab.java
Clone Instance
1
Line Count
6
Source Line
259
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/AppletMainTab.java

                setMessage(null);
                String name = fProjText.getText().trim();
                if (name.length() > 0) {
                        if ( !ResourcesPlugin.getWorkspace().getRoot().getProject(name).exists()) {
                                setErrorMessage(LauncherMessages.appletlauncher_maintab_project_error_doesnotexist);
                                return false;
                        } //end if
                } //end if


Clone Instance
2
Line Count
7
Source Line
380
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/JavaConnectTab.java

                setMessage(null);
                // project              
                String name = fProjText.getText().trim();
                if (name.length() > 0) {
                        if ( !ResourcesPlugin.getWorkspace().getRoot().getProject(name).exists()) {
                                setErrorMessage(LauncherMessages.JavaConnectTab_Project_does_not_exist_14);
                                return false;
                        } //end if
                } //end if


Clone AbstractionParameter Count: 1Parameter Bindings

setMessage(null);
// project              
String name = fProjText.getText().trim();
if (name.length() > 0) {
  if ( !ResourcesPlugin.getWorkspace().getRoot().getProject(name).exists()) {
    setErrorMessage(LauncherMessages. [[#variable57fc8100]]);
    return false;
  } //end if
} //end if
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#57fc8100]]
appletlauncher_maintab_project_error_doesnotexist 
12[[#57fc8100]]
JavaConnectTab_Project_does_not_exist_14