CloneSet2234


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10201.000executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1102560
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
2102954
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
Clone Instance
1
Line Count
10
Source Line
2560
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java

                               {
                                for (int i = 0; i < argumentsLength; i++) {
                                        if (i > 0) {
                                                this.scribe.printNextToken(TerminalTokens.TokenNameCOMMA, this.preferences.insert_space_before_comma_in_method_invocation_arguments);
                                                this.scribe.printTrailingComment();
                                        }
                                        if (i > 0 && this.preferences.insert_space_after_comma_in_method_invocation_arguments) {
                                                this.scribe.space();
                                        }
                                        ((Expression) arguments.get(i)).accept(this );
                                }
                               }


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

                               {
                                for (int i = 0; i < argumentsLength; i++) {
                                        if (i > 0) {
                                                this.scribe.printNextToken(TerminalTokens.TokenNameCOMMA, this.preferences.insert_space_before_comma_in_method_invocation_arguments);
                                                this.scribe.printTrailingComment();
                                        }
                                        if (i > 0 && this.preferences.insert_space_after_comma_in_method_invocation_arguments) {
                                                this.scribe.space();
                                        }
                                        ((Expression) arguments.get(i)).accept(this );
                                }
                               }


Clone AbstractionParameter Count: 0Parameter Bindings

{
  for (int i = 0; i < argumentsLength; i++) {
    if (i > 0) {
      this.scribe.printNextToken(TerminalTokens.TokenNameCOMMA, this.preferences.insert_space_before_comma_in_method_invocation_arguments);
      this.scribe.printTrailingComment();
    }
    if (i > 0 && this.preferences.insert_space_after_comma_in_method_invocation_arguments) {
      this.scribe.space();
    }
    ((Expression) arguments.get(i)).accept(this );
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None