Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 1 | 0.976 | constructor_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 134 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/jdbc/JDBCPieDataset.java |
2 | 3 | 177 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/jdbc/JDBCXYDataset.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); } |
| |||||
/** * 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); } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1a0c34a0]] | JDBCPieDataset |
1 | 2 | [[#1a0c34a0]] | JDBCXYDataset |