CloneSet1468


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.965method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17807
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/schemainfo/SchemaInfo.java
27816
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/schemainfo/SchemaInfo.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
807
Source File
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;
}


First
Previous
Clone Instance
2
Line Count
7
Source Line
816
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/schemainfo/SchemaInfo.java

public String getCaseSensitiveProcedureName(String data) {
  if ( !_loading && data != null) {
    return _schemaInfoCache.getProcedureNamesForReadOnly().get(new CaseInsensitiveString(data));
  }
  return null;
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
    * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1c8c3980]]
getCaseSensitiveTableName 
12[[#1c8c3980]]
getCaseSensitiveProcedureName 
21[[#1c8c38e0]]
getTableNamesForReadOnly 
22[[#1c8c38e0]]
getProcedureNamesForReadOnly