CloneSet3109


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13201.000statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1133565
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
2133651
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
Clone Instance
1
Line Count
13
Source Line
3565
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                        if (action instanceof Block) {
                    formatLeftCurlyBrace(line, this.preferences.brace_position_for_block);
                                action.traverse(this, scope);
                        }
                        else   if (action instanceof EmptyStatement) {
                                /*
                                 * This is an empty statement
                                 */
                                formatNecessaryEmptyStatement();
                               }
                               else {
                                this.scribe.indent();
                                this.scribe.printNewLine();
                                action.traverse(this, scope);
                                this.scribe.unIndent();
                               }


Clone Instance
2
Line Count
13
Source Line
3651
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                        if (action instanceof Block) {
                    formatLeftCurlyBrace(line, this.preferences.brace_position_for_block);
                                action.traverse(this, scope);
                        }
                        else   if (action instanceof EmptyStatement) {
                                /*
                                 * This is an empty statement
                                 */
                                formatNecessaryEmptyStatement();
                               }
                               else {
                                this.scribe.indent();
                                this.scribe.printNewLine();
                                action.traverse(this, scope);
                                this.scribe.unIndent();
                               }


Clone AbstractionParameter Count: 0Parameter Bindings

if (action instanceof Block) {
  formatLeftCurlyBrace(line, this.preferences.brace_position_for_block);
  action.traverse(this, scope);
}
else
  if (action instanceof EmptyStatement) {
    /*
                                     * This is an empty statement
                                     */
    formatNecessaryEmptyStatement();
  }
  else {
    this.scribe.indent();
    this.scribe.printNewLine();
    action.traverse(this, scope);
    this.scribe.unIndent();
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None