CloneSet2882


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12210.982statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112251
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/IndentAction.java
212390
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/IndentUtil.java
Clone Instance
1
Line Count
12
Source Line
251
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/IndentAction.java

                // standard java indentation
                if (indent == null) {
                        StringBuffer computed = indenter.computeIndentation(offset);
                        if (computed != null)
                                indent = computed.toString();
                        else
                                indent = ""; //$NON-NLS-1$
                }

                // change document:
                // get current white space
                int lineLength = currentLine.getLength();
                int end = scanner.findNonWhitespaceForwardInAnyPartition(wsStart, offset + lineLength);


Clone Instance
2
Line Count
12
Source Line
390
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/IndentUtil.java

                // standard java indentation
                if (indent == null) {
                        StringBuffer computed = indenter.computeIndentation(offset);
                        if (computed != null)
                                indent = computed.toString();
                        else
                                indent = new String();
                }

                // change document:
                // get current white space
                int lineLength = currentLine.getLength();
                int end = scanner.findNonWhitespaceForwardInAnyPartition(wsStart, offset + lineLength);


Clone AbstractionParameter Count: 1Parameter Bindings

// standard java indentation
if (indent == null) {
  StringBuffer computed = indenter.computeIndentation(offset);
  if (computed != null)
    indent = computed.toString();
  else
    indent = [[#variablea3c38100]]; //$NON-NLS-1$
}
// change document:
// get current white space
int lineLength = currentLine.getLength();
int end = scanner.findNonWhitespaceForwardInAnyPartition(wsStart, offset + lineLength);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a3c38100]]
"" 
12[[#a3c38100]]
new String()