CloneSet787


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

/**
 * Returns a boolean value indicating whether or not the specified TableColumnInfo represents a database
 * column that holds binary type data.
 * 
 * @param columnInfo
 *        the TableColumnInfo to examine
 * @return true if binary; false otherwise.
 */
public static boolean isBinaryType(TableColumnInfo columnInfo) {
  boolean result = false;
  int type = columnInfo.getDataType();
  if (type == Types.BINARY || type == Types.BLOB || type == Types.LONGVARBINARY || type == Types.VARBINARY) {
    result = true;
  }
  return result;
}


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

/**
 * Returns a boolean value indicating whether or not the specified TableColumnInfo represents a database
 * column that holds binary type data.
 * 
 * @param columnInfo
 *           the TableColumnInfo to examine
 * @return true if binary; false otherwise.
 */
public static boolean isBinaryType(TableColumnInfo columnInfo) {
  boolean result = false;
  int type = columnInfo.getDataType();
  if (type == Types.BINARY || type == Types.BLOB || type == Types.LONGVARBINARY || type == Types.VARBINARY) {
    result = true;
  }
  return result;
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
         * Returns a boolean value indicating whether or not the specified TableColumnInfo represents a database
         * column that holds binary type data.
         * 
         * @param columnInfo
         *           the TableColumnInfo to examine
         * @return true if binary; false otherwise.
         */
/**
         * Returns a boolean value indicating whether or not the specified TableColumnInfo represents a database
         * column that holds binary type data.
         * 
         * @param columnInfo
         *        the TableColumnInfo to examine
         * @return true if binary; false otherwise.
         */
public static boolean isBinaryType(TableColumnInfo columnInfo) {
  boolean result = false;
  int type = columnInfo.getDataType();
  if (type == Types.BINARY || type == Types.BLOB || type == Types.LONGVARBINARY || type == Types.VARBINARY) {
    result = true;
  }
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None