CloneSet1343


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9410.989statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19313
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/Scribe.java
29330
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/Scribe.java
39311
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/Scribe2.java
49327
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/Scribe2.java
Clone Instance
1
Line Count
9
Source Line
313
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/Scribe.java

                while (current != null) {
                        if (current == alignment) break;
                        current = current.enclosing;
                }
                if (current == null) {
                        throw new AbortFormatting("could not find matching alignment: " + alignment); //$NON-NLS-1$
                }
                this.indentationLevel = alignment.location.outputIndentationLevel;
                this.numberOfIndentations = alignment.location.numberOfIndentations;


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

                while (current != null) {
                        if (current == alignment) break;
                        current = current.enclosing;
                }
                if (current == null) {
                        throw new AbortFormatting("could not find matching alignment: " + alignment); //$NON-NLS-1$
                }
                this.indentationLevel = current.location.outputIndentationLevel;
                this.numberOfIndentations = current.location.numberOfIndentations;


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

                while (current != null) {
                        if (current == alignment) break;
                        current = current.enclosing;
                }
                if (current == null) {
                        throw new AbortFormatting("could not find matching alignment: " + alignment); //$NON-NLS-1$
                }
                this.indentationLevel = alignment.location.outputIndentationLevel;
                this.numberOfIndentations = alignment.location.numberOfIndentations;


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

                while (current != null) {
                        if (current == alignment) break;
                        current = current.enclosing;
                }
                if (current == null) {
                        throw new AbortFormatting("could not find matching alignment: " + alignment); //$NON-NLS-1$
                }
                this.indentationLevel = current.location.outputIndentationLevel;
                this.numberOfIndentations = current.location.numberOfIndentations;


Clone AbstractionParameter Count: 1Parameter Bindings

while (current != null) {
  if (current == alignment)
    break;
  current = current.enclosing;
}
if (current == null) {
  throw new AbortFormatting("could not find matching alignment: " + alignment); //$NON-NLS-1$
}
this.indentationLevel = [[#variablebe75f620]].location.outputIndentationLevel;
this.numberOfIndentations = [[#variablebe75f620]].location.numberOfIndentations;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#be75f620]]
alignment 
12[[#be75f620]]
current 
13[[#be75f620]]
alignment 
14[[#be75f620]]
current