CloneSet2472


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6201.000statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16608
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingManager.java
26208
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/AbstractJavaScanner.java
Clone Instance
1
Line Count
6
Source Line
608
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingManager.java

                if (fColorManager != null && colorKey != null && fColorManager.getColor(colorKey) == null) {
                        RGB rgb = PreferenceConverter.getColor(fPreferenceStore, colorKey);
                        if (fColorManager instanceof IColorManagerExtension) {
                                IColorManagerExtension ext = (IColorManagerExtension) fColorManager;
                                ext.unbindColor(colorKey);
                                ext.bindColor(colorKey, rgb);
                        }
                }


Clone Instance
2
Line Count
6
Source Line
208
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/AbstractJavaScanner.java

                if (fColorManager != null && colorKey != null && fColorManager.getColor(colorKey) == null) {
                        RGB rgb = PreferenceConverter.getColor(fPreferenceStore, colorKey);
                        if (fColorManager instanceof IColorManagerExtension) {
                                IColorManagerExtension ext = (IColorManagerExtension) fColorManager;
                                ext.unbindColor(colorKey);
                                ext.bindColor(colorKey, rgb);
                        }
                }


Clone AbstractionParameter Count: 0Parameter Bindings

if (fColorManager != null && colorKey != null && fColorManager.getColor(colorKey) == null) {
  RGB rgb = PreferenceConverter.getColor(fPreferenceStore, colorKey);
  if (fColorManager instanceof IColorManagerExtension) {
    IColorManagerExtension ext = (IColorManagerExtension) fColorManager;
    ext.unbindColor(colorKey);
    ext.bindColor(colorKey, rgb);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None