CloneSet4673


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
151019
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java
25126
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaStringAutoIndentStrategy.java
Clone Instance
1
Line Count
5
Source Line
1019
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java

    private boolean isLineDelimiter(IDocument document, String text) {
                String[] delimiters = document.getLegalLineDelimiters();
                if (delimiters != null)
                        return TextUtilities.equals(delimiters, text) > -1;
                return false;
    }


Clone Instance
2
Line Count
5
Source Line
126
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaStringAutoIndentStrategy.java

        private boolean isLineDelimiter(IDocument document, String text) {
                String[] delimiters = document.getLegalLineDelimiters();
                if (delimiters != null)
                        return TextUtilities.equals(delimiters, text) > -1;
                return false;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

private boolean isLineDelimiter(IDocument document, String text) {
  String[] delimiters = document.getLegalLineDelimiters();
  if (delimiters != null)
    return TextUtilities.equals(delimiters, text) > -1;
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None