Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 1 | 0.953 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 487 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/objecttree/ObjectTreePanel.java |
2 | 7 | 504 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/objecttree/ObjectTreePanel.java |
| |||||
/** * Add a listener to the object tree. * * @param lis The <TT>ObjectTreeListener</TT> you want added. * * @throws IllegalArgumentException * Thrown if <TT>null</TT> <TT>ObjectTreeListener</TT> passed. */ public void addObjectTreeListener(IObjectTreeListener lis) { if (lis == null) { throw new IllegalArgumentException("IObjectTreeListener == null"); } _tree.addObjectTreeListener(lis); } |
| |||||
/** * Remove a listener from the object tree. * * @param lis The <TT>ObjectTreeListener</TT> you want removed. * * @throws IllegalArgumentException * Thrown if <TT>null</TT> <TT>ObjectTreeListener</TT> passed. */ public void removeObjectTreeListener(IObjectTreeListener lis) { if (lis == null) { throw new IllegalArgumentException("IObjectTreeListener == null"); } _tree.removeObjectTreeListener(lis); } |
| |||
/** * Remove a listener from the object tree. * * @param lis The <TT>ObjectTreeListener</TT> you want removed. * * @throws IllegalArgumentException * Thrown if <TT>null</TT> <TT>ObjectTreeListener</TT> passed. */ /** * Add a listener to the object tree. * * @param lis The <TT>ObjectTreeListener</TT> you want added. * * @throws IllegalArgumentException * Thrown if <TT>null</TT> <TT>ObjectTreeListener</TT> passed. */ public void [[#variable1c99ed20]](IObjectTreeListener lis) { if (lis == null) { throw new IllegalArgumentException("IObjectTreeListener == null"); } _tree. [[#variable1c99ed20]](lis); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1c99ed20]] | addObjectTreeListener |
1 | 2 | [[#1c99ed20]] | removeObjectTreeListener |