CloneSet5182


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3230.964class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13147
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/AptConfigurationBlock.java
23130
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TodoTaskConfigurationBlock.java
Clone Instance
1
Line Count
3
Source Line
147
Source File
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/AptConfigurationBlock.java

        /**
         * Sorts items in the Processor Options list control.
         */
        private static class ProcessorOptionSorter extends ViewerSorter {
                public int compare(Viewer viewer, Object e1, Object e2) {
                        return collator.compare(((ProcessorOption) e1).key, ((ProcessorOption) e2).key);
                }
        }


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

        private static class TodoTaskSorter extends ViewerSorter {
                public int compare(Viewer viewer, Object e1, Object e2) {
                        return collator.compare(((TodoTask) e1).name, ((TodoTask) e2).name);
                }
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * Sorts items in the Processor Options list control.
         */
private static class [[#variable5a3af460]]extends ViewerSorter {
  public int compare(Viewer viewer, Object e1, Object e2) {
    return collator.compare((( [[#variable5a3af3c0]]) e1). [[#variable5a3af340]], (( [[#variable5a3af3c0]]) e2). [[#variable5a3af340]]);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5a3af460]]
TodoTaskSorter 
12[[#5a3af460]]
ProcessorOptionSorter 
21[[#5a3af3c0]]
TodoTask 
22[[#5a3af3c0]]
ProcessorOption 
31[[#5a3af340]]
name 
32[[#5a3af340]]
key