Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 8 | 2 | 0.965 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 82 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/db/AliasGroup.java |
2 | 8 | 162 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/db/SQLAlias.java |
3 | 8 | 39 | E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/id/IntegerIdentifier.java |
4 | 8 | 40 | E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/id/UidIdentifier.java |
5 | 8 | 129 | E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/sql/SQLDriver.java |
6 | 6 | 99 | E:/TSE/Projects-CloneDR/sql12/plugins/favs/src/net/sourceforge/squirrel_sql/plugins/favs/Folder.java |
7 | 6 | 87 | E:/TSE/Projects-CloneDR/sql12/plugins/favs/src/net/sourceforge/squirrel_sql/plugins/favs/Query.java |
8 | 8 | 75 | 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>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; } |
| |||||
/** * 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; } |
| |||||
public boolean equals(Object rhs) { boolean rc = false; if (rhs != null && rhs.getClass().equals(getClass())) { rc = ((IntegerIdentifier) rhs).toString().equals(toString()); } return rc; } |
| |||||
public boolean equals(Object rhs) { boolean rc = false; if (rhs != null && rhs.getClass().equals(getClass())) { rc = ((UidIdentifier) rhs).toString().equals(toString()); } return rc; } |
| |||||
/** * 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; } |
| |||||
/** * 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; } |
| |||||
/** * 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; } |
| |||||
/** * 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; } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18cbc960]] | AliasGroup |
1 | 2 | [[#18cbc960]] | ISQLAlias |
1 | 3 | [[#18cbc960]] | IntegerIdentifier |
1 | 4 | [[#18cbc960]] | UidIdentifier |
1 | 5 | [[#18cbc960]] | ISQLDriver |
1 | 6 | [[#18cbc960]] | Folder |
1 | 7 | [[#18cbc960]] | Query |
1 | 8 | [[#18cbc960]] | AliasScript |
2 | 1 | [[#18cbc7a0]] | getIdentifier |
2 | 2 | [[#18cbc7a0]] | getIdentifier |
2 | 3 | [[#18cbc7a0]] | toString |
2 | 4 | [[#18cbc7a0]] | toString |
2 | 5 | [[#18cbc7a0]] | getIdentifier |
2 | 6 | [[#18cbc7a0]] | getIdentifier |
2 | 7 | [[#18cbc7a0]] | getIdentifier |
2 | 8 | [[#18cbc7a0]] | getIdentifier |