CloneSet3730


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

        public void doubleClick(DoubleClickEvent event) {
            final ISelection selection = event.getSelection();
            if (selection instanceof IStructuredSelection) {
                final Category node = (Category) ((IStructuredSelection) selection).getFirstElement();
                fCategoriesViewer.setExpandedState(node, !fCategoriesViewer.getExpandedState(node));
            }
        }


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

        public void doubleClick(DoubleClickEvent event) {
            final ISelection selection = event.getSelection();
            if (selection instanceof IStructuredSelection) {
                final Node node = (Node) ((IStructuredSelection) selection).getFirstElement();
                fTreeViewer.setExpandedState(node, !fTreeViewer.getExpandedState(node));
            }
        }


Clone AbstractionParameter Count: 2Parameter Bindings

public void doubleClick(DoubleClickEvent event) {
  final ISelection selection = event.getSelection();
  if (selection instanceof IStructuredSelection) {
    final [[#variable4e2c1da0]] node = ( [[#variable4e2c1da0]]) ((IStructuredSelection) selection).getFirstElement();
     [[#variable4e2c1d40]].setExpandedState(node, ! [[#variable4e2c1d40]].getExpandedState(node));
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4e2c1da0]]
Node 
12[[#4e2c1da0]]
Category 
21[[#4e2c1d40]]
fTreeViewer 
22[[#4e2c1d40]]
fCategoriesViewer