CloneSet1614


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16220.988class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11699
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/HTMLPrinter.java
216117
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/HTMLPrinter.java
Clone Instance
1
Line Count
16
Source Line
99
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/HTMLPrinter.java

        public static void insertPageProlog(StringBuffer buffer, int position, RGB bgRGB, URL styleSheetURL) {

                if (bgRGB == null)
                        insertPageProlog(buffer, position, styleSheetURL);
                else {
                        StringBuffer pageProlog = new StringBuffer(300);

                        pageProlog.append("<html>"); //$NON-NLS-1$

                        appendStyleSheetURL(pageProlog, styleSheetURL);

                        pageProlog.append("<body text=\"#000000\" bgcolor=\""); //$NON-NLS-1$
                        appendColor(pageProlog, bgRGB);
                        pageProlog.append("\">"); //$NON-NLS-1$

                        buffer.insert(position,  pageProlog.toString());
                }
        }


Clone Instance
2
Line Count
16
Source Line
117
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/HTMLPrinter.java

        public static void insertPageProlog(StringBuffer buffer, int position, RGB bgRGB, String styleSheet) {

                if (bgRGB == null)
                        insertPageProlog(buffer, position, styleSheet);
                else {
                        StringBuffer pageProlog = new StringBuffer(300);

                        pageProlog.append("<html>"); //$NON-NLS-1$

                        appendStyleSheetURL(pageProlog, styleSheet);

                        pageProlog.append("<body text=\"#000000\" bgcolor=\""); //$NON-NLS-1$
                        appendColor(pageProlog, bgRGB);
                        pageProlog.append("\">"); //$NON-NLS-1$

                        buffer.insert(position,  pageProlog.toString());
                }
        }


Clone AbstractionParameter Count: 2Parameter Bindings

public static void insertPageProlog(StringBuffer buffer, int position, RGB bgRGB, [[#variablea4f241e0]]  [[#variablea4f240a0]]) {
  if (bgRGB == null)
    insertPageProlog(buffer, position,  [[#variablea4f240a0]]);
  else {
    StringBuffer pageProlog = new StringBuffer(300);
    pageProlog.append("<html>"); //$NON-NLS-1$
    appendStyleSheetURL(pageProlog,  [[#variablea4f240a0]]);
    pageProlog.append("<body text=\"#000000\" bgcolor=\""); //$NON-NLS-1$
    appendColor(pageProlog, bgRGB);
    pageProlog.append("\">"); //$NON-NLS-1$
    buffer.insert(position, pageProlog.toString());
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a4f241e0]]
URL 
12[[#a4f241e0]]
String 
21[[#a4f240a0]]
styleSheetURL 
22[[#a4f240a0]]
styleSheet