CloneSet1219


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.971method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15276
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/ChartUtilities.java
25457
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/ChartUtilities.java
Next
Last
Clone Instance
1
Line Count
5
Source Line
276
Source File
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);
}


First
Previous
Clone Instance
2
Line Count
5
Source Line
457
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/ChartUtilities.java

/**
 * 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);
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18ef43e0]]
saveChartAsPNG 
12[[#18ef43e0]]
saveChartAsJPEG