CloneSet2259


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16311
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java
26328
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java
Clone Instance
1
Line Count
6
Source Line
311
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java

                                StringBuffer reference = null;
                                int nonWS = findEndOfWhiteSpace(d, start, lineEnd);
                                if (nonWS < c.offset && d.getChar(nonWS) == '{')
                                        reference = new StringBuffer(d.get(start, nonWS - start));
                                else
                                        reference = indenter.getReferenceIndentation(c.offset);


Clone Instance
2
Line Count
6
Source Line
328
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java

                                        StringBuffer reference = null;
                                        int nonWS = findEndOfWhiteSpace(d, start, lineEnd);
                                        if (nonWS < c.offset && d.getChar(nonWS) == '{')
                                                reference = new StringBuffer(d.get(start, nonWS - start));
                                        else
                                                reference = indenter.getReferenceIndentation(c.offset);


Clone AbstractionParameter Count: 0Parameter Bindings

StringBuffer reference = null;
int nonWS = findEndOfWhiteSpace(d, start, lineEnd);
if (nonWS < c.offset && d.getChar(nonWS) == '{')
  reference = new StringBuffer(d.get(start, nonWS - start));
else
  reference = indenter.getReferenceIndentation(c.offset);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None