CloneSet835


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9401.000executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
191803
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
291821
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
391832
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
491843
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
Clone Instance
1
Line Count
9
Source Line
1803
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                                                             {
                                this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon);
                                this.scribe.printTrailingComment();
                                if (i != statementsLength - 1) {
                                        if ( !(statement instanceof EmptyStatement) && !(statements[i + 1] instanceof EmptyStatement)) {
                                                this.scribe.printNewLine();
                                        }
                                }
                                else   if (i == statementsLength - 1 && insertNewLineAfterLastStatement) {
                                        this.scribe.printNewLine();
                                       }
                                                             }


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

                                                                                                                             {
                                                        this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon);
                                                        this.scribe.printTrailingComment();
                                                        if (i != statementsLength - 1) {
                                                                if ( !(statement instanceof EmptyStatement) && !(statements[i + 1] instanceof EmptyStatement)) {
                                                                        this.scribe.printNewLine();
                                                                }
                                                        }
                                                        else   if (i == statementsLength - 1 && insertNewLineAfterLastStatement) {
                                                                this.scribe.printNewLine();
                                                               }
                                                                                                                             }


Clone Instance
3
Line Count
9
Source Line
1832
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                                               {
                                                this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon);
                                                this.scribe.printTrailingComment();
                                                if (i != statementsLength - 1) {
                                                        if ( !(statement instanceof EmptyStatement) && !(statements[i + 1] instanceof EmptyStatement)) {
                                                                this.scribe.printNewLine();
                                                        }
                                                }
                                                else   if (i == statementsLength - 1 && insertNewLineAfterLastStatement) {
                                                        this.scribe.printNewLine();
                                                       }
                                               }


Clone Instance
4
Line Count
9
Source Line
1843
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                                       {
                                        this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon);
                                        this.scribe.printTrailingComment();
                                        if (i != statementsLength - 1) {
                                                if ( !(statement instanceof EmptyStatement) && !(statements[i + 1] instanceof EmptyStatement)) {
                                                        this.scribe.printNewLine();
                                                }
                                        }
                                        else   if (i == statementsLength - 1 && insertNewLineAfterLastStatement) {
                                                this.scribe.printNewLine();
                                               }
                                       }


Clone AbstractionParameter Count: 0Parameter Bindings

{
  this.scribe.printNextToken(TerminalTokens.TokenNameSEMICOLON, this.preferences.insert_space_before_semicolon);
  this.scribe.printTrailingComment();
  if (i != statementsLength - 1) {
    if ( !(statement instanceof EmptyStatement) && !(statements[i + 1] instanceof EmptyStatement)) {
      this.scribe.printNewLine();
    }
  }
  else
    if (i == statementsLength - 1 && insertNewLineAfterLastStatement) {
      this.scribe.printNewLine();
    }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None