CloneSet2216


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16201.000class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11693
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionAssistant.java
21690
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/PropertiesFileCorrectionAssistant.java
Clone Instance
1
Line Count
16
Source Line
93
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionAssistant.java

        public IEditorPart getEditor() {
                return fEditor;
        }


        private IInformationControlCreator getInformationControlCreator() {
                return new IInformationControlCreator() {
                        public IInformationControl createInformationControl(Shell parent) {
                                return new DefaultInformationControl(parent, new HTMLTextPresenter());
                        }
                       };
        }

        private static Color getColor(IPreferenceStore store, String key, IColorManager manager) {
                RGB rgb = PreferenceConverter.getColor(store, key);
                return manager.getColor(rgb);
        }


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

        public IEditorPart getEditor() {
                return fEditor;
        }


        private IInformationControlCreator getInformationControlCreator() {
                return new IInformationControlCreator() {
                        public IInformationControl createInformationControl(Shell parent) {
                                return new DefaultInformationControl(parent, new HTMLTextPresenter());
                        }
                       };
        }

        private static Color getColor(IPreferenceStore store, String key, IColorManager manager) {
                RGB rgb = PreferenceConverter.getColor(store, key);
                return manager.getColor(rgb);
        }


Clone AbstractionParameter Count: 0Parameter Bindings

public IEditorPart getEditor() {
  return fEditor;
}

private IInformationControlCreator getInformationControlCreator() {
  return new IInformationControlCreator() {
           public IInformationControl createInformationControl(Shell parent) {
             return new DefaultInformationControl(parent, new HTMLTextPresenter());
           }
         };
}

private static Color getColor(IPreferenceStore store, String key, IColorManager manager) {
  RGB rgb = PreferenceConverter.getColor(store, key);
  return manager.getColor(rgb);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None