CloneSet2311


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10230.988class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110296
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeExceptionsControl.java
210507
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeParametersControl.java
Clone Instance
1
Line Count
10
Source Line
296
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeExceptionsControl.java

                        public void widgetSelected(SelectionEvent e) {
                                int index = getTable().getSelectionIndices()[0];
                                ExceptionInfo[] selected = getSelectedItems();
                                for (int i = 0; i < selected.length; i++) {
                                        if (selected[i].isAdded())
                                                fExceptionInfos.remove(selected[i]);
                                        else
                                                selected[i].markAsDeleted();
                                }
                                restoreSelection(index);
                        }


Clone Instance
2
Line Count
10
Source Line
507
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeParametersControl.java

                        public void widgetSelected(SelectionEvent e) {
                                int index = getTable().getSelectionIndices()[0];
                                ParameterInfo[] selected = getSelectedElements();
                                for (int i = 0; i < selected.length; i++) {
                                        if (selected[i].isAdded())
                                                fParameterInfos.remove(selected[i]);
                                        else
                                                selected[i].markAsDeleted();
                                }
                                restoreSelection(index);
                        }


Clone AbstractionParameter Count: 3Parameter Bindings

public void widgetSelected(SelectionEvent e) {
  int index = getTable().getSelectionIndices()[0];
   [[#variable52b52640]][] selected = [[#variable52b525a0]]();
  for (int i = 0; i < selected.length; i++) {
    if (selected[i].isAdded())
       [[#variable52b52540]].remove(selected[i]);
    else
      selected[i].markAsDeleted();
  }
  restoreSelection(index);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52b52640]]
ParameterInfo 
12[[#52b52640]]
ExceptionInfo 
21[[#52b525a0]]
getSelectedElements 
22[[#52b525a0]]
getSelectedItems 
31[[#52b52540]]
fParameterInfos 
32[[#52b52540]]
fExceptionInfos