CloneSet893


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13210.955method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113203
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeBlob.java
213223
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeClob.java
Next
Last
Clone Instance
1
Line Count
13
Source Line
203
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeBlob.java

/**
 * Determine if two objects of this data type contain the same value.
 * Neither of the objects is null
 */
public boolean areEqual(Object obj1, Object obj2) {
  if (obj1 == obj2)
    return true;
  // if both objs are null, then they matched in the previous test,
  // so at this point we know that at least one of them (or both) is not null.
  // However, one of them may still be null, and we cannot call equals() on
  // the null object, so make sure that the one we call it on is not null.
  // The equals() method handles the other one being null, if it is.
  if (obj1 != null)
    return ((BlobDescriptor) obj1).equals((BlobDescriptor) obj2);
  else
    return ((BlobDescriptor) obj2).equals((BlobDescriptor) obj1);
}


First
Previous
Clone Instance
2
Line Count
13
Source Line
223
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeClob.java

/**
 * Determine if two objects of this data type contain the same value.
 * Neither of the objects is null
 */
public boolean areEqual(Object obj1, Object obj2) {
  if (obj1 == obj2)
    return true;
  // if both objs are null, then they matched in the previous test,
  // so at this point we know that at least one of them (or both) is not null.
  // However, one of them may still be null, and we cannot call equals() on
  // the null object, so make sure that the one we call it on is not null.
  // The equals() method handles the other one being null, if it is.
  if (obj1 != null)
    return ((ClobDescriptor) obj1).equals((ClobDescriptor) obj2);
  else
    return ((ClobDescriptor) obj2).equals((ClobDescriptor) obj1);
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * Determine if two objects of this data type contain the same value.
         * Neither of the objects is null
         */
public boolean areEqual(Object obj1, Object obj2) {
  if (obj1 == obj2)
    return true;
  // if both objs are null, then they matched in the previous test,
  // so at this point we know that at least one of them (or both) is not null.
  // However, one of them may still be null, and we cannot call equals() on
  // the null object, so make sure that the one we call it on is not null.
  // The equals() method handles the other one being null, if it is.
  if (obj1 != null)
    return (( [[#variable1cd01c80]]) obj1).equals(( [[#variable1cd01c80]]) obj2);
  else
    return (( [[#variable1cd01c80]]) obj2).equals(( [[#variable1cd01c80]]) obj1);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1cd01c80]]
BlobDescriptor 
12[[#1cd01c80]]
ClobDescriptor