Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.971 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 276 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/ChartUtilities.java |
2 | 5 | 457 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/ChartUtilities.java |
| |||||
/** * Saves a chart to the specified file in PNG format. * * @param file the file name (<code>null</code> not permitted). * @param chart the chart (<code>null</code> not permitted). * @param width the image width. * @param height the image height. * * @throws IOException if there are any I/O errors. */ public static void saveChartAsPNG(File file, JFreeChart chart, int width, int height) throws IOException { // defer argument checking... saveChartAsPNG(file, chart, width, height, null); } |
| |||||
/** * Saves a chart to a file in JPEG format. * * @param file the file (<code>null</code> not permitted). * @param chart the chart (<code>null</code> not permitted). * @param width the image width. * @param height the image height. * * @throws IOException if there are any I/O errors. */ public static void saveChartAsJPEG(File file, JFreeChart chart, int width, int height) throws IOException { // defer argument checking... saveChartAsJPEG(file, chart, width, height, null); } |
| |||
/** * Saves a chart to a file in JPEG format. * * @param file the file (<code>null</code> not permitted). * @param chart the chart (<code>null</code> not permitted). * @param width the image width. * @param height the image height. * * @throws IOException if there are any I/O errors. */ /** * Saves a chart to the specified file in PNG format. * * @param file the file name (<code>null</code> not permitted). * @param chart the chart (<code>null</code> not permitted). * @param width the image width. * @param height the image height. * * @throws IOException if there are any I/O errors. */ public static void [[#variable18ef43e0]](File file, JFreeChart chart, int width, int height) throws IOException { [[#variable18ef43e0]](file, chart, width, height, null); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18ef43e0]] | saveChartAsPNG |
1 | 2 | [[#18ef43e0]] | saveChartAsJPEG |