CloneSet4299


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18483
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/NameLookup.java
28497
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/NameLookup.java
Clone Instance
1
Line Count
8
Source Line
483
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/NameLookup.java

                                                if (oneFragment == null) {
                                                        oneFragment = new IPackageFragment[] {
                                                                                              pkg
                                                                                             };
                                                }
                                                else   {
                                                        if (pkgs == null) {
                                                                pkgs = new ArrayList();
                                                                pkgs.add(oneFragment[0]);
                                                        }
                                                        pkgs.add(pkg);
                                                }


Clone Instance
2
Line Count
8
Source Line
497
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/NameLookup.java

                                                        if (oneFragment == null) {
                                                                oneFragment = new IPackageFragment[] {
                                                                                                      pkg
                                                                                                     };
                                                        }
                                                        else   {
                                                                if (pkgs == null) {
                                                                        pkgs = new ArrayList();
                                                                        pkgs.add(oneFragment[0]);
                                                                }
                                                                pkgs.add(pkg);
                                                        }


Clone AbstractionParameter Count: 0Parameter Bindings

if (oneFragment == null) {
  oneFragment = new IPackageFragment[] {
                                         pkg
                                       };
}
else {
  if (pkgs == null) {
    pkgs = new ArrayList();
    pkgs.add(oneFragment[0]);
  }
  pkgs.add(pkg);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None