CloneSet1361


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110310
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/ConstructorPattern.java
210357
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodPattern.java
Clone Instance
1
Line Count
10
Source Line
310
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/ConstructorPattern.java

        if (parameterSimpleNames == null) {
                output.append("..."); //$NON-NLS-1$
        }
        else   {
                for (int i = 0, max = parameterSimpleNames.length; i < max; i++) {
                        if (i > 0) output.append(", "); //$NON-NLS-1$
                        if (parameterQualifications[i] != null) output.append(parameterQualifications[i]).append('.');
                        if (parameterSimpleNames[i] == null) output.append('*');
                        else                                                          output.append(parameterSimpleNames[i]);
                }
        }
        output.append(')');


Clone Instance
2
Line Count
10
Source Line
357
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodPattern.java

        if (parameterSimpleNames == null) {
                output.append("..."); //$NON-NLS-1$
        }
        else   {
                for (int i = 0, max = parameterSimpleNames.length; i < max; i++) {
                        if (i > 0) output.append(", "); //$NON-NLS-1$
                        if (parameterQualifications[i] != null) output.append(parameterQualifications[i]).append('.');
                        if (parameterSimpleNames[i] == null) output.append('*');
                        else                                                          output.append(parameterSimpleNames[i]);
                }
        }
        output.append(')');


Clone AbstractionParameter Count: 0Parameter Bindings

if (parameterSimpleNames == null) {
  output.append("..."); //$NON-NLS-1$
}
else {
  for (int i = 0, max = parameterSimpleNames.length; i < max; i++) {
    if (i > 0)
      output.append(", "); //$NON-NLS-1$
    if (parameterQualifications[i] != null)
      output.append(parameterQualifications[i]).append('.');
    if (parameterSimpleNames[i] == null)
      output.append('*');
    else
      output.append(parameterSimpleNames[i]);
  }
}
output.append(')');
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None