Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 2 | 0.988 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 99 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/HTMLPrinter.java |
2 | 16 | 117 | 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()); } } |
| ||||
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()); } } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a4f241e0]] | URL |
1 | 2 | [[#a4f241e0]] | String |
2 | 1 | [[#a4f240a0]] | styleSheetURL |
2 | 2 | [[#a4f240a0]] | styleSheet |