CloneSet5811


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4210.960executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14211
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java
24179
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddFolderToBuildpathAction.java
Clone Instance
1
Line Count
4
Source Line
211
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java

                                                                                                                                                                            {
                                                        IResource res = workspaceRoot.findMember(outputLocation);
                                                        if (res instanceof IContainer && BuildPathsBlock.hasClassfiles(res)) {
                                                                BuildPathsBlock.removeOldClassfiles(res);
                                                        }
                                                                                                                                                                            }


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

                                                 {
                                IResource res = workspaceRoot.findMember(project.getOutputLocation());
                                if (res instanceof IContainer && BuildPathsBlock.hasClassfiles(res)) {
                                        BuildPathsBlock.removeOldClassfiles(res);
                                }
                                                 }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  IResource res = workspaceRoot.findMember( [[#variable8f5efaa0]]);
  if (res instanceof IContainer && BuildPathsBlock.hasClassfiles(res)) {
    BuildPathsBlock.removeOldClassfiles(res);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#8f5efaa0]]
project.getOutputLocation() 
12[[#8f5efaa0]]
outputLocation