CloneSet444


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18220.974class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1181345
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/sql/SQLDatabaseMetaData.java
2161393
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/sql/SQLDatabaseMetaData.java
Next
Last
Clone Instance
1
Line Count
18
Source Line
1345
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/sql/SQLDatabaseMetaData.java

    /**
* @see net.sourceforge.squirrel_sql.fw.sql.ISQLDatabaseMetaData#getImportedKeysInfo(java.lang.String, java.lang.String, java.lang.String)
*/
public synchronized ForeignKeyInfo[] getImportedKeysInfo(String catalog, String schema, String tableName) throws SQLException {
  ResultSet rs = privateGetJDBCMetaData().getImportedKeys(catalog, schema, tableName);
  return getForeignKeyInfo(rs);
}

/* (non-Javadoc)
 * @see net.sourceforge.squirrel_sql.fw.sql.ISQLDatabaseMetaData#getImportedKeysInfo(net.sourceforge.squirrel_sql.fw.sql.ITableInfo)
 */
public synchronized ForeignKeyInfo[] getImportedKeysInfo(ITableInfo ti) throws SQLException {
  return getForeignKeyInfo(privateGetJDBCMetaData().getImportedKeys(ti.getCatalogName(), ti.getSchemaName(), ti.getSimpleName()));
}


First
Previous
Clone Instance
2
Line Count
16
Source Line
1393
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/sql/SQLDatabaseMetaData.java

/**
 * 
 * 
 * @see net.sourceforge.squirrel_sql.fw.sql.ISQLDatabaseMetaData#getExportedKeysInfo(java.lang.String,
 *      java.lang.String, java.lang.String)
 */
public synchronized ForeignKeyInfo[] getExportedKeysInfo(String catalog, String schema, String tableName) throws SQLException {
  ResultSet rs = privateGetJDBCMetaData().getExportedKeys(catalog, schema, tableName);
  return getForeignKeyInfo(rs);
}

    /**
* @see net.sourceforge.squirrel_sql.fw.sql.ISQLDatabaseMetaData#getExportedKeysInfo(net.sourceforge.squirrel_sql.fw.sql.ITableInfo)
*/
public synchronized ForeignKeyInfo[] getExportedKeysInfo(ITableInfo ti) throws SQLException {
  return getForeignKeyInfo(privateGetJDBCMetaData().getExportedKeys(ti.getCatalogName(), ti.getSchemaName(), ti.getSimpleName()));
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
    * @see net.sourceforge.squirrel_sql.fw.sql.ISQLDatabaseMetaData#getImportedKeysInfo(java.lang.String, java.lang.String, java.lang.String)
    */
/**
    * 
    * 
    * @see net.sourceforge.squirrel_sql.fw.sql.ISQLDatabaseMetaData#getExportedKeysInfo(java.lang.String,
    *      java.lang.String, java.lang.String)
    */
public synchronized ForeignKeyInfo[]  [[#variable1ce1c1e0]](String catalog, String schema, String tableName) throws SQLException {
  ResultSet rs = privateGetJDBCMetaData(). [[#variable1ce1d4a0]](catalog, schema, tableName);
  return getForeignKeyInfo(rs);
}

/* (non-Javadoc)
     * @see net.sourceforge.squirrel_sql.fw.sql.ISQLDatabaseMetaData#getImportedKeysInfo(net.sourceforge.squirrel_sql.fw.sql.ITableInfo)
     */
/**
    * @see net.sourceforge.squirrel_sql.fw.sql.ISQLDatabaseMetaData#getExportedKeysInfo(net.sourceforge.squirrel_sql.fw.sql.ITableInfo)
    */
public synchronized ForeignKeyInfo[]  [[#variable1ce1c1e0]](ITableInfo ti) throws SQLException {
  return getForeignKeyInfo(privateGetJDBCMetaData(). [[#variable1ce1d4a0]](ti.getCatalogName(), ti.getSchemaName(), ti.getSimpleName()));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1ce1c1e0]]
getImportedKeysInfo 
12[[#1ce1c1e0]]
getExportedKeysInfo 
21[[#1ce1d4a0]]
getImportedKeys 
22[[#1ce1d4a0]]
getExportedKeys