CloneSet1875


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14210.967executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114118
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProblemTableViewer.java
214122
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProblemTreeViewer.java
Clone Instance
1
Line Count
14
Source Line
118
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProblemTableViewer.java

                                                                          {
                        ArrayList others = new ArrayList(changed.length);
                        for (int i = 0; i < changed.length; i++) {
                                Object curr = changed[i];
                                if (curr instanceof IResource) {
                                        fResourceToItemsMapper.resourceChanged((IResource) curr);
                                }
                                else   {
                                        others.add(curr);
                                }
                        }
                        if (others.isEmpty()) {
                                return;
                        }
                        event = new LabelProviderChangedEvent((IBaseLabelProvider) event.getSource(), others.toArray());
                                                                          }


Clone Instance
2
Line Count
14
Source Line
122
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProblemTreeViewer.java

                                                                          {
                        ArrayList others = new ArrayList();
                        for (int i = 0; i < changed.length; i++) {
                                Object curr = changed[i];
                                if (curr instanceof IResource) {
                                        fResourceToItemsMapper.resourceChanged((IResource) curr);
                                }
                                else   {
                                        others.add(curr);
                                }
                        }
                        if (others.isEmpty()) {
                                return;
                        }
                        event = new LabelProviderChangedEvent((IBaseLabelProvider) event.getSource(), others.toArray());
                                                                          }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  ArrayList others = new ArrayList [[#variable54ed5580]];
  for (int i = 0; i < changed.length; i++) {
    Object curr = changed[i];
    if (curr instanceof IResource) {
      fResourceToItemsMapper.resourceChanged((IResource) curr);
    }
    else {
      others.add(curr);
    }
  }
  if (others.isEmpty()) {
    return;
  }
  event = new LabelProviderChangedEvent((IBaseLabelProvider) event.getSource(), others.toArray());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#54ed5580]]
() 
12[[#54ed5580]]
(changed.length)