CloneSet4339


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.981class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15172
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchLabelProvider.java
25186
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchLabelProvider.java
Clone Instance
1
Line Count
5
Source Line
172
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchLabelProvider.java

        public void addListener(ILabelProviderListener listener) {
                super.addListener(listener);
                for (Iterator labelProviders = fLabelProviderMap.values().iterator(); labelProviders.hasNext();) {
                        ILabelProvider labelProvider = (ILabelProvider) labelProviders.next();
                        labelProvider.addListener(listener);
                }
        }


Clone Instance
2
Line Count
5
Source Line
186
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchLabelProvider.java

        public void removeListener(ILabelProviderListener listener) {
                super.removeListener(listener);
                for (Iterator labelProviders = fLabelProviderMap.values().iterator(); labelProviders.hasNext();) {
                        ILabelProvider labelProvider = (ILabelProvider) labelProviders.next();
                        labelProvider.removeListener(listener);
                }
        }


Clone AbstractionParameter Count: 1Parameter Bindings

public void [[#variable9681b260]](ILabelProviderListener listener) {
  super. [[#variable9681b260]](listener);
  for (Iterator labelProviders = fLabelProviderMap.values().iterator(); labelProviders.hasNext();) {
    ILabelProvider labelProvider = (ILabelProvider) labelProviders.next();
    labelProvider. [[#variable9681b260]](listener);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9681b260]]
addListener 
12[[#9681b260]]
removeListener