CloneSet3378


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1872
plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/ClasspathDirectory.java
2874
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/ClasspathDirectory.java
Clone Instance
1
Line Count
8
Source Line
72
Source File
plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/ClasspathDirectory.java

                                                                    {
        String[] dirList = directoryList(qualifiedPackageName);
        if (dirList == null) return false; // most common case

        for (int i = dirList.length; --i >= 0;)
                if (fileName.equals(dirList[i]))
                        return true;
        return false;
                                                                    }


Clone Instance
2
Line Count
8
Source Line
74
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/ClasspathDirectory.java

                                                                                              {
        String[] dirList = directoryList(qualifiedPackageName);
        if (dirList == null) return false; // most common case

        for (int i = dirList.length; --i >= 0;)
                if (fileName.equals(dirList[i]))
                        return true;
        return false;
                                                                                              }


Clone AbstractionParameter Count: 0Parameter Bindings

{
  String[] dirList = directoryList(qualifiedPackageName);
  if (dirList == null)
    return false; // most common case
  for (int i = dirList.length; --i >= 0;)
    if (fileName.equals(dirList[i]))
      return true;
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None