CloneSet4261


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
173504
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
273514
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
Clone Instance
1
Line Count
7
Source Line
3504
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java

                                        if (currentDistance < 0)
                                                currentDistance = endOfDocument + currentDistance;

                                        if (currentDistance < distance || currentDistance == distance && p.length < nextAnnotationPosition.length) {
                                                distance = currentDistance;
                                                nextAnnotation = a;
                                                nextAnnotationPosition = p;
                                        }


Clone Instance
2
Line Count
7
Source Line
3514
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java

                                        if (currentDistance < 0)
                                                currentDistance = endOfDocument + currentDistance;

                                        if (currentDistance < distance || currentDistance == distance && p.length < nextAnnotationPosition.length) {
                                                distance = currentDistance;
                                                nextAnnotation = a;
                                                nextAnnotationPosition = p;
                                        }


Clone AbstractionParameter Count: 0Parameter Bindings

if (currentDistance < 0)
  currentDistance = endOfDocument + currentDistance;
if (currentDistance < distance || currentDistance == distance && p.length < nextAnnotationPosition.length) {
  distance = currentDistance;
  nextAnnotation = a;
  nextAnnotationPosition = p;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None