CloneSet3841


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
182506
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java
281124
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor2.java
Clone Instance
1
Line Count
8
Source Line
2506
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/CodeFormatterVisitor.java

                        if (this.preferences.insert_new_line_before_closing_brace_in_array_initializer) {
                                this.scribe.printNewLine();
                        }
                        else   if (this.preferences.insert_space_before_closing_brace_in_array_initializer) {
                                this.scribe.space();
                               }
                        this.scribe.printNextToken(TerminalTokens.TokenNameRBRACE, false);
                        if (array_initializer_brace_position.equals(DefaultCodeFormatterConstants.NEXT_LINE_SHIFTED)) {
                                this.scribe.unIndent();
                        }


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

                        if (this.preferences.insert_new_line_before_closing_brace_in_array_initializer) {
                                this.scribe.printNewLine();
                        }
                        else   if (this.preferences.insert_space_before_closing_brace_in_array_initializer) {
                                this.scribe.space();
                               }
                        this.scribe.printNextToken(TerminalTokens.TokenNameRBRACE, false);
                        if (array_initializer_brace_position.equals(DefaultCodeFormatterConstants.NEXT_LINE_SHIFTED)) {
                                this.scribe.unIndent();
                        }


Clone AbstractionParameter Count: 0Parameter Bindings

if (this.preferences.insert_new_line_before_closing_brace_in_array_initializer) {
  this.scribe.printNewLine();
}
else
  if (this.preferences.insert_space_before_closing_brace_in_array_initializer) {
    this.scribe.space();
  }
this.scribe.printNextToken(TerminalTokens.TokenNameRBRACE, false);
if (array_initializer_brace_position.equals(DefaultCodeFormatterConstants.NEXT_LINE_SHIFTED)) {
  this.scribe.unIndent();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None