CloneSet7258


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
152912
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
251381
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
Clone Instance
1
Line Count
5
Source Line
2912
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                        int blankLinesAfterPackage = this.preferences.blank_lines_after_package;
                        if (blankLinesAfterPackage > 0) {
                                this.scribe.printEmptyLines(blankLinesAfterPackage);
                        }
                        else   {
                                this.scribe.printNewLine();
                        }


Clone Instance
2
Line Count
5
Source Line
1381
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java

                        int blankLinesAfterPackage = this.preferences.blank_lines_after_package;
                        if (blankLinesAfterPackage > 0) {
                                this.scribe.printEmptyLines(blankLinesAfterPackage);
                        }
                        else   {
                                this.scribe.printNewLine();
                        }


Clone AbstractionParameter Count: 0Parameter Bindings

int blankLinesAfterPackage = this.preferences.blank_lines_after_package;
if (blankLinesAfterPackage > 0) {
  this.scribe.printEmptyLines(blankLinesAfterPackage);
}
else {
  this.scribe.printNewLine();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None