CloneSet1968


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11210.996statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111261
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileSourceViewerConfiguration.java
211883
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java
Clone Instance
1
Line Count
11
Source Line
261
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileSourceViewerConfiguration.java

                if ( !fPreferenceStore.getBoolean(AbstractDecoratedTextEditorPreferenceConstants.EDITOR_HYPERLINKS_ENABLED))
                        return null;

                IHyperlinkDetector[] inheritedDetectors = super.getHyperlinkDetectors(sourceViewer);

                if (fTextEditor == null)
                        return inheritedDetectors;

                int inheritedDetectorsLength = inheritedDetectors != null ? inheritedDetectors.length:  0;
                IHyperlinkDetector[] detectors = new IHyperlinkDetector[inheritedDetectorsLength + 2];
                detectors[0] = new PropertyKeyHyperlinkDetector(fTextEditor);


Clone Instance
2
Line Count
11
Source Line
883
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java

                if ( !fPreferenceStore.getBoolean(AbstractDecoratedTextEditorPreferenceConstants.EDITOR_HYPERLINKS_ENABLED))
                        return null;

                IHyperlinkDetector[] inheritedDetectors = super.getHyperlinkDetectors(sourceViewer);

                if (fTextEditor == null)
                        return inheritedDetectors;

                int inheritedDetectorsLength = inheritedDetectors != null ? inheritedDetectors.length:  0;
                IHyperlinkDetector[] detectors = new IHyperlinkDetector[inheritedDetectorsLength + 2];
                detectors[0] = new NLSKeyHyperlinkDetector(fTextEditor);


Clone AbstractionParameter Count: 1Parameter Bindings

if ( !fPreferenceStore.getBoolean(AbstractDecoratedTextEditorPreferenceConstants.EDITOR_HYPERLINKS_ENABLED))
  return null;
IHyperlinkDetector[] inheritedDetectors = super.getHyperlinkDetectors(sourceViewer);
if (fTextEditor == null)
  return inheritedDetectors;
int inheritedDetectorsLength = inheritedDetectors != null ? inheritedDetectors.length: 0;
IHyperlinkDetector[] detectors = new IHyperlinkDetector[inheritedDetectorsLength + 2];
detectors[0] = new [[#variableb8aac360]](fTextEditor);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b8aac360]]
PropertyKeyHyperlinkDetector 
12[[#b8aac360]]
NLSKeyHyperlinkDetector