CloneSet5558


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.969statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15255
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/AptConfigurationBlock.java
25363
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TodoTaskConfigurationBlock.java
Clone Instance
1
Line Count
5
Source Line
255
Source File
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/AptConfigurationBlock.java

                if (dialog.open() == Window.OK) {
                        if (original != null) {
                                fProcessorOptionsField.replaceElement(original, dialog.getResult());
                        }
                        else   {
                                fProcessorOptionsField.addElement(dialog.getResult());
                        }
                }


Clone Instance
2
Line Count
5
Source Line
363
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TodoTaskConfigurationBlock.java

                        if (dialog.open() == Window.OK) {
                                if (edited != null) {
                                        fTodoTasksList.replaceElement(edited, dialog.getResult());
                                }
                                else   {
                                        fTodoTasksList.addElement(dialog.getResult());
                                }
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

if (dialog.open() == Window.OK) {
  if ( [[#variable9eefaac0]]!= null) {
     [[#variable9eefaa60]].replaceElement( [[#variable9eefaac0]], dialog.getResult());
  }
  else {
     [[#variable9eefaa60]].addElement(dialog.getResult());
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9eefaac0]]
edited 
12[[#9eefaac0]]
original 
21[[#9eefaa60]]
fTodoTasksList 
22[[#9eefaa60]]
fProcessorOptionsField