Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.965 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 807 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/schemainfo/SchemaInfo.java |
2 | 7 | 816 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/schemainfo/SchemaInfo.java |
| |||||
/** * This method returns the case sensitive name of a table as it is stored * in the database. * The case sensitive name is needed for example if you want to retrieve * a table's meta data. Quote from the API doc of DataBaseMetaData.getTables(): * Parameters: * ... * tableNamePattern - a table name pattern; must match the table name as it is stored in the database * * * @param data The tables name in arbitrary case. * @return the table name as it is stored in the database */ public String getCaseSensitiveTableName(String data) { if ( !_loading && data != null) { return _schemaInfoCache.getTableNamesForReadOnly().get(new CaseInsensitiveString(data)); } return null; } |
| |||||
public String getCaseSensitiveProcedureName(String data) { if ( !_loading && data != null) { return _schemaInfoCache.getProcedureNamesForReadOnly().get(new CaseInsensitiveString(data)); } return null; } |
| |||
/** * This method returns the case sensitive name of a table as it is stored * in the database. * The case sensitive name is needed for example if you want to retrieve * a table's meta data. Quote from the API doc of DataBaseMetaData.getTables(): * Parameters: * ... * tableNamePattern - a table name pattern; must match the table name as it is stored in the database * * * @param data The tables name in arbitrary case. * @return the table name as it is stored in the database */ public String [[#variable1c8c3980]](String data) { if ( !_loading && data != null) { return _schemaInfoCache. [[#variable1c8c38e0]]().get(new CaseInsensitiveString(data)); } return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1c8c3980]] | getCaseSensitiveTableName |
1 | 2 | [[#1c8c3980]] | getCaseSensitiveProcedureName |
2 | 1 | [[#1c8c38e0]] | getTableNamesForReadOnly |
2 | 2 | [[#1c8c38e0]] | getProcedureNamesForReadOnly |