CloneSet4319


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1554
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDropAdapter.java
2566
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/SelectionTransferDropAdapter.java
Clone Instance
1
Line Count
5
Source Line
54
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDropAdapter.java

        public boolean isEnabled(DropTargetEvent event) {
                Object target = event.item != null ? event.item.getData():  null;
                if (target == null)
                        return false;
                return target instanceof IJavaElement || target instanceof IResource;
        }


Clone Instance
2
Line Count
5
Source Line
66
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/SelectionTransferDropAdapter.java

        public boolean isEnabled(DropTargetEvent event) {
                Object target = event.item != null ? event.item.getData():  null;
                if (target == null)
                        return false;
                return target instanceof IJavaElement || target instanceof IResource;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

public boolean isEnabled(DropTargetEvent event) {
  Object target = event.item != null ? event.item.getData(): null;
  if (target == null)
    return false;
  return target instanceof IJavaElement || target instanceof IResource;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None