Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.961 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 317 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/SQLPanel.java |
2 | 7 | 334 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/SQLPanel.java |
| |||||
/** * Add a listener to this panel. * * @param lis Listener * * @throws IllegalArgumentException * If a null <TT>ISQLPanelListener</TT> passed. */ public synchronized void addSQLPanelListener(ISQLPanelListener lis) { if (lis == null) { throw new IllegalArgumentException("null ISQLPanelListener passed"); } _listeners.add(ISQLPanelListener.class , lis); } |
| |||||
/** * Remove a listener. * * @param lis Listener * * @throws IllegalArgumentException * If a null <TT>ISQLPanelListener</TT> passed. */ public synchronized void removeSQLPanelListener(ISQLPanelListener lis) { if (lis == null) { throw new IllegalArgumentException("null ISQLPanelListener passed"); } _listeners.remove(ISQLPanelListener.class , lis); } |
| |||
/** * Remove a listener. * * @param lis Listener * * @throws IllegalArgumentException * If a null <TT>ISQLPanelListener</TT> passed. */ /** * Add a listener to this panel. * * @param lis Listener * * @throws IllegalArgumentException * If a null <TT>ISQLPanelListener</TT> passed. */ public synchronized void [[#variable1c91e040]](ISQLPanelListener lis) { if (lis == null) { throw new IllegalArgumentException("null ISQLPanelListener passed"); } _listeners. [[#variable1c923f60]](ISQLPanelListener.class , lis); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1c91e040]] | addSQLPanelListener |
1 | 2 | [[#1c91e040]] | removeSQLPanelListener |
2 | 1 | [[#1c923f60]] | add |
2 | 2 | [[#1c923f60]] | remove |