Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 3 | 0.957 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 193 | E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/sql/SQLUtilities.java |
2 | 10 | 211 | E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/sql/SQLUtilities.java |
| |||||
public static ForeignKeyInfo[] getImportedKeys(ITableInfo ti, SQLDatabaseMetaData md) throws SQLException { ForeignKeyInfo[] result = ti.getImportedKeys(); if (result == null) { result = md.getImportedKeysInfo(ti); // Avoid the hit next time ti.setImportedKeys(result); } return result; } |
| |||||
/** * @param ti * @param md * @return * @throws SQLException */ public static ForeignKeyInfo[] getExportedKeys(ITableInfo ti, SQLDatabaseMetaData md) throws SQLException { ForeignKeyInfo[] result = ti.getExportedKeys(); if (result == null) { result = md.getExportedKeysInfo(ti); // Avoid the hit next time ti.setExportedKeys(result); } return result; } |
| |||
/** * @param ti * @param md * @return * @throws SQLException */ public static ForeignKeyInfo[] [[#variable1cd10a40]](ITableInfo ti, SQLDatabaseMetaData md) throws SQLException { ForeignKeyInfo[] result = ti. [[#variable1cd10a40]](); if (result == null) { result = md. [[#variable1cd109c0]](ti); // Avoid the hit next time ti. [[#variable1cd10960]](result); } return result; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1cd10a40]] | getImportedKeys |
1 | 2 | [[#1cd10a40]] | getExportedKeys |
2 | 1 | [[#1cd109c0]] | getImportedKeysInfo |
2 | 2 | [[#1cd109c0]] | getExportedKeysInfo |
3 | 1 | [[#1cd10960]] | setImportedKeys |
3 | 2 | [[#1cd10960]] | setExportedKeys |