CloneSet574


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7320.976method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17489
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeBigDecimal.java
27474
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeTime.java
38490
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeTimestamp.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
489
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeBigDecimal.java

/*
         * DataBase-related functions
         */
/**
 * On input from the DB, read the data from the ResultSet into the appropriate
 * type of object to be stored in the table cell.
 */
public Object readResultSet(ResultSet rs, int index, boolean limitDataRead) throws java.sql.SQLException {
  BigDecimal data = rs.getBigDecimal(index);
  if (rs.wasNull())
    return null;
  else
    return data;
}


Next
Previous
Clone Instance
2
Line Count
7
Source Line
474
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeTime.java

/*
  * DataBase-related functions
  */
/**
 * On input from the DB, read the data from the ResultSet into the appropriate
 * type of object to be stored in the table cell.
 */
public Object readResultSet(ResultSet rs, int index, boolean limitDataRead) throws java.sql.SQLException {
  Time data = rs.getTime(index);
  if (rs.wasNull())
    return null;
  else
    return data;
}


First
Previous
Clone Instance
3
Line Count
8
Source Line
490
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeTimestamp.java

/*
  * DataBase-related functions
  */
/**
 * On input from the DB, read the data from the ResultSet into the appropriate
 * type of object to be stored in the table cell.
 */
public Object readResultSet(ResultSet rs, int index, boolean limitDataRead) throws java.sql.SQLException {
  Timestamp data = rs.getTimestamp(index);
  if (rs.wasNull())
    return null;
  else
    return data;
}


Clone AbstractionParameter Count: 2Parameter Bindings

/*
                 * DataBase-related functions
                 */
/**
          * On input from the DB, read the data from the ResultSet into the appropriate
          * type of object to be stored in the table cell.
          */
/*
     * DataBase-related functions
     */
/*
      * DataBase-related functions
      */
/**
     * On input from the DB, read the data from the ResultSet into the appropriate
     * type of object to be stored in the table cell.
     */
public Object readResultSet(ResultSet rs, int index, boolean limitDataRead) throws java.sql.SQLException {
   [[#variable1cec2660]] data = rs. [[#variable1cec25c0]](index);
  if (rs.wasNull())
    return null;
  else
    return data;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1cec2660]]
BigDecimal 
12[[#1cec2660]]
Time 
13[[#1cec2660]]
Timestamp 
21[[#1cec25c0]]
getBigDecimal 
22[[#1cec25c0]]
getTime 
23[[#1cec25c0]]
getTimestamp