CloneSet5734


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.968class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15633
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java
2591
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/WhiteSpaceTabPage.java
Clone Instance
1
Line Count
5
Source Line
633
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java

                        public Object[] getElements(Object inputElement) {
                                return ((Collection) inputElement).toArray();
                        }

                        public Object[] getChildren(Object parentElement) {
                                return ((Category) parentElement).children.toArray();
                        }


Clone Instance
2
Line Count
5
Source Line
91
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/WhiteSpaceTabPage.java

                                public Object[] getElements(Object inputElement) {
                                        return ((Collection) inputElement).toArray();
                                }

                                public Object[] getChildren(Object parentElement) {
                                        return ((Node) parentElement).getChildren().toArray();
                                }


Clone AbstractionParameter Count: 2Parameter Bindings

public Object[] getElements(Object inputElement) {
  return ((Collection) inputElement).toArray();
}

public Object[] getChildren(Object parentElement) {
  return (( [[#variable92b95fe0]]) parentElement) [[#variable93849180]].toArray();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#92b95fe0]]
Category 
12[[#92b95fe0]]
Node 
21[[#93849180]]
.children 
22[[#93849180]]
.getChildren()