CloneSet134


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8820.965method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1882
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/db/AliasGroup.java
28162
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/db/SQLAlias.java
3839
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/id/IntegerIdentifier.java
4840
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/id/UidIdentifier.java
58129
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/sql/SQLDriver.java
6699
E:/TSE/Projects-CloneDR/sql12/plugins/favs/src/net/sourceforge/squirrel_sql/plugins/favs/Folder.java
7687
E:/TSE/Projects-CloneDR/sql12/plugins/favs/src/net/sourceforge/squirrel_sql/plugins/favs/Query.java
8875
E:/TSE/Projects-CloneDR/sql12/plugins/sessionscript/src/net/sourceforge/squirrel_sql/plugins/sessionscript/AliasScript.java
Next
Last
Clone Instance
1
Line Count
8
Source Line
82
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/db/AliasGroup.java

/**
 * Returns <TT>true</TT> if this objects is equal to the passed one. Two
 * <TT>AliasGroup</TT> objects are considered equal if they have the same
 * identifier.
 */
public boolean equals(Object rhs) {
  boolean rc = false;
  if (rhs != null && rhs.getClass().equals(getClass())) {
    rc = ((AliasGroup) rhs).getIdentifier().equals(getIdentifier());
  }
  return rc;
}


Next
Previous
Clone Instance
2
Line Count
8
Source Line
162
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/db/SQLAlias.java

/**
 * Returns <TT>true</TT> if this objects is equal to the passed one. Two
 * <TT>ISQLAlias</TT> objects are considered equal if they have the same
 * identifier.
 */
public boolean equals(Object rhs) {
  boolean rc = false;
  if (rhs != null && rhs.getClass().equals(getClass())) {
    rc = ((ISQLAlias) rhs).getIdentifier().equals(getIdentifier());
  }
  return rc;
}


Next
Previous
Clone Instance
3
Line Count
8
Source Line
39
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/id/IntegerIdentifier.java

public boolean equals(Object rhs) {
  boolean rc = false;
  if (rhs != null && rhs.getClass().equals(getClass())) {
    rc = ((IntegerIdentifier) rhs).toString().equals(toString());
  }
  return rc;
}


Next
Previous
Clone Instance
4
Line Count
8
Source Line
40
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/id/UidIdentifier.java

public boolean equals(Object rhs) {
  boolean rc = false;
  if (rhs != null && rhs.getClass().equals(getClass())) {
    rc = ((UidIdentifier) rhs).toString().equals(toString());
  }
  return rc;
}


Next
Previous
Clone Instance
5
Line Count
8
Source Line
129
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/sql/SQLDriver.java

/**
 * Returns <TT>true</TT> if this objects is equal to the passed one. Two
 * <TT>ISQLDriver</TT> objects are considered equal if they have the same
 * identifier.
 */
public boolean equals(Object rhs) {
  boolean rc = false;
  if (rhs != null && rhs.getClass().equals(getClass())) {
    rc = ((ISQLDriver) rhs).getIdentifier().equals(getIdentifier());
  }
  return rc;
}


Next
Previous
Clone Instance
6
Line Count
6
Source Line
99
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/favs/src/net/sourceforge/squirrel_sql/plugins/favs/Folder.java

/**
 * Two <CODE>Folder</CODE> objects are considered equal if their ID's are
 * identical.
 *
 * @return  <CODE>true</CODE> if this objects is equal to the passed one.
 */
public boolean equals(Object rhs) {
  boolean rc = false;
  if (rhs != null && rhs.getClass().equals(getClass())) {
    rc = ((Folder) rhs).getIdentifier().equals(getIdentifier());
  }
  return rc;
}


Next
Previous
Clone Instance
7
Line Count
6
Source Line
87
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/favs/src/net/sourceforge/squirrel_sql/plugins/favs/Query.java

/**
 * Two <CODE>Query</CODE> objects are considered equal if their ID's are
 * identical unless their ID's are
 *
 * @return      <CODE>true</CODE> if this object is equal to the passed one.
 */
public boolean equals(Object rhs) {
  boolean rc = false;
  if (rhs != null && rhs.getClass().equals(getClass())) {
    rc = ((Query) rhs).getIdentifier().equals(getIdentifier());
  }
  return rc;
}


First
Previous
Clone Instance
8
Line Count
8
Source Line
75
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/sessionscript/src/net/sourceforge/squirrel_sql/plugins/sessionscript/AliasScript.java

/**
 * Returns <TT>true</TT> if this objects is equal to the passed one. Two
 * <TT>AliasScript</TT> objects are considered equal if they have the same
 * identifier.
 */
public boolean equals(Object rhs) {
  boolean rc = false;
  if (rhs != null && rhs.getClass().equals(getClass())) {
    rc = ((AliasScript) rhs).getIdentifier().equals(getIdentifier());
  }
  return rc;
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * Returns <TT>true</TT> if this objects is equal to the passed one. Two
         * <TT>AliasScript</TT> objects are considered equal if they have the same
         * identifier.
         */
/**
         * Two <CODE>Query</CODE> objects are considered equal if their ID's are
         * identical unless their ID's are
         *
         * @return      <CODE>true</CODE> if this object is equal to the passed one.
         */
/**
         * Returns <TT>true</TT> if this objects is equal to the passed one. Two
         * <TT>AliasGroup</TT> objects are considered equal if they have the same
         * identifier.
         */
/**
         * Two <CODE>Folder</CODE> objects are considered equal if their ID's are
         * identical.
         *
         * @return  <CODE>true</CODE> if this objects is equal to the passed one.
         */
/**
    * Returns <TT>true</TT> if this objects is equal to the passed one. Two
    * <TT>ISQLAlias</TT> objects are considered equal if they have the same
    * identifier.
    */
/**
         * Returns <TT>true</TT> if this objects is equal to the passed one. Two
         * <TT>ISQLDriver</TT> objects are considered equal if they have the same
         * identifier.
         */
public boolean equals(Object rhs) {
  boolean rc = false;
  if (rhs != null && rhs.getClass().equals(getClass())) {
    rc = (( [[#variable18cbc960]]) rhs). [[#variable18cbc7a0]]().equals( [[#variable18cbc7a0]]());
  }
  return rc;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18cbc960]]
AliasGroup 
12[[#18cbc960]]
ISQLAlias 
13[[#18cbc960]]
IntegerIdentifier 
14[[#18cbc960]]
UidIdentifier 
15[[#18cbc960]]
ISQLDriver 
16[[#18cbc960]]
Folder 
17[[#18cbc960]]
Query 
18[[#18cbc960]]
AliasScript 
21[[#18cbc7a0]]
getIdentifier 
22[[#18cbc7a0]]
getIdentifier 
23[[#18cbc7a0]]
toString 
24[[#18cbc7a0]]
toString 
25[[#18cbc7a0]]
getIdentifier 
26[[#18cbc7a0]]
getIdentifier 
27[[#18cbc7a0]]
getIdentifier 
28[[#18cbc7a0]]
getIdentifier