CloneSet647


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
117548
E:/TSE/Projects-CloneDR/sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/util/DBUtil.java
216369
E:/TSE/Projects-CloneDR/sql12/plugins/dbdiff/src/net/sourceforge/squirrel_sql/plugins/dbdiff/util/DBUtil.java
Next
Last
Clone Instance
1
Line Count
17
Source Line
548
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/util/DBUtil.java

if (tis.length == 0) {
  // i18n[DBUtil.error.tablenotfound=Couldn't locate table '{0}' in
  // schema '(1)']
  String msg = s_stringMgr.getString("DBUtil.error.tablenotfound", new String[] {
                                                                                  tableName,
                                                                                  schema
                                                                                } );
  throw new MappingException(msg);
}
if (tis.length > 1) {
  if (log.isDebugEnabled()) {
    log.debug("DBUtil.getTableInfo: found " + tis.length + " that matched " + "catalog=" + catalog + " schema=" + schema + " tableName=" + tableName);
  }
}
return tis[0];


First
Previous
Clone Instance
2
Line Count
16
Source Line
369
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/dbdiff/src/net/sourceforge/squirrel_sql/plugins/dbdiff/util/DBUtil.java

if (tis.length == 0) {
  // i18n[DBUtil.error.tablenotfound=Couldn't locate table '{0}' in
  // schema '(1)']
  String msg = s_stringMgr.getString("DBUtil.error.tablenotfound", new String[] {
                                                                                  tableName,
                                                                                  schema
                                                                                } );
  throw new MappingException(msg);
}
if (tis.length > 1) {
  if (log.isDebugEnabled()) {
    log.debug("DBUtil.getTableInfo: found " + tis.length + " that matched " + "catalog=" + catalog + " schema=" + schema + " tableName=" + tableName);
  }
}
return tis[0];


Clone AbstractionParameter Count: 0Parameter Bindings

if (tis.length == 0) {
  // i18n[DBUtil.error.tablenotfound=Couldn't locate table '{0}' in
  // schema '(1)']
  String msg = s_stringMgr.getString("DBUtil.error.tablenotfound", new String[] {
                                                                                  tableName,
                                                                                  schema
                                                                                } );
  throw new MappingException(msg);
}
if (tis.length > 1) {
  if (log.isDebugEnabled()) {
    log.debug("DBUtil.getTableInfo: found " + tis.length + " that matched " + "catalog=" + catalog + " schema=" + schema + " tableName=" + tableName);
  }
}
return tis[0];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None