CloneSet1951


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3210.976constructor_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13134
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/jdbc/JDBCPieDataset.java
23177
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/jdbc/JDBCXYDataset.java
Next
Last
Clone Instance
1
Line Count
3
Source Line
134
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/jdbc/JDBCPieDataset.java

/**
 * Creates a new JDBCPieDataset using a pre-existing database connection.
 * <P>
 * The dataset is initialised with the supplied query.
 *
 * @param con  the database connection.
 * @param query  the database connection.
 * 
 * @throws SQLException if there is a problem executing the query.
 */
public JDBCPieDataset(Connection con, String query) throws SQLException {
  this(con);
  executeQuery(query);
}


First
Previous
Clone Instance
2
Line Count
3
Source Line
177
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/jdbc/JDBCXYDataset.java

/**
 * Creates a new dataset using the specified database connection, and 
 * populates it using data obtained with the supplied query.
 *
 * @param con  the connection.
 * @param query  the SQL query.
 * 
 * @throws SQLException if there is a problem executing the query.
 */
public JDBCXYDataset(Connection con, String query) throws SQLException {
  this(con);
  executeQuery(query);
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Creates a new JDBCPieDataset using a pre-existing database connection.
     * <P>
     * The dataset is initialised with the supplied query.
     *
     * @param con  the database connection.
     * @param query  the database connection.
     * 
     * @throws SQLException if there is a problem executing the query.
     */
/**
     * Creates a new dataset using the specified database connection, and 
     * populates it using data obtained with the supplied query.
     *
     * @param con  the connection.
     * @param query  the SQL query.
     * 
     * @throws SQLException if there is a problem executing the query.
     */
public [[#variable1a0c34a0]](Connection con, String query) throws SQLException {
  this(con);
  executeQuery(query);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a0c34a0]]
JDBCPieDataset 
12[[#1a0c34a0]]
JDBCXYDataset