CloneSet1853


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12201.000statement_sequence[8]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11279
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionAssistant.java
21276
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/PropertiesFileCorrectionAssistant.java
Clone Instance
1
Line Count
12
Source Line
79
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionAssistant.java

                setInformationControlCreator(getInformationControlCreator());

                JavaTextTools textTools = JavaPlugin.getDefault().getJavaTextTools();
                IColorManager manager = textTools.getColorManager();

                IPreferenceStore store = JavaPlugin.getDefault().getPreferenceStore();

                Color c = getColor(store, PreferenceConstants.CODEASSIST_PROPOSALS_FOREGROUND, manager);
                setProposalSelectorForeground(c);

                c = getColor(store, PreferenceConstants.CODEASSIST_PROPOSALS_BACKGROUND, manager);
                setProposalSelectorBackground(c);


Clone Instance
2
Line Count
12
Source Line
76
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/PropertiesFileCorrectionAssistant.java

                setInformationControlCreator(getInformationControlCreator());

                JavaTextTools textTools = JavaPlugin.getDefault().getJavaTextTools();
                IColorManager manager = textTools.getColorManager();

                IPreferenceStore store = JavaPlugin.getDefault().getPreferenceStore();

                Color c = getColor(store, PreferenceConstants.CODEASSIST_PROPOSALS_FOREGROUND, manager);
                setProposalSelectorForeground(c);

                c = getColor(store, PreferenceConstants.CODEASSIST_PROPOSALS_BACKGROUND, manager);
                setProposalSelectorBackground(c);


Clone AbstractionParameter Count: 0Parameter Bindings

setInformationControlCreator(getInformationControlCreator());
JavaTextTools textTools = JavaPlugin.getDefault().getJavaTextTools();
IColorManager manager = textTools.getColorManager();
IPreferenceStore store = JavaPlugin.getDefault().getPreferenceStore();
Color c = getColor(store, PreferenceConstants.CODEASSIST_PROPOSALS_FOREGROUND, manager);
setProposalSelectorForeground(c);
c = getColor(store, PreferenceConstants.CODEASSIST_PROPOSALS_BACKGROUND, manager);
setProposalSelectorBackground(c);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None