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.955 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 308 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/SQLPanelAPI.java |
2 | 7 | 325 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/SQLPanelAPI.java |
| |||||
/** * Add a listener listening for SQL Execution. * * @param lis Listener to add * * @throws IllegalArgumentException * Thrown if a null <TT>ISQLExecutionListener</TT> passed. */ public synchronized void addSQLExecutionListener(ISQLExecutionListener lis) { if (lis == null) { throw new IllegalArgumentException("null ISQLExecutionListener passed"); } _panel.addSQLExecutionListener(lis); } |
| |||||
/** * Remove an SQL execution listener. * * @param lis Listener * * @throws IllegalArgumentException * If a null <TT>ISQLExecutionListener</TT> passed. */ public synchronized void removeSQLExecutionListener(ISQLExecutionListener lis) { if (lis == null) { throw new IllegalArgumentException("null ISQLExecutionListener passed"); } _panel.removeSQLExecutionListener(lis); } |
| |||
/** * Remove an SQL execution listener. * * @param lis Listener * * @throws IllegalArgumentException * If a null <TT>ISQLExecutionListener</TT> passed. */ /** * Add a listener listening for SQL Execution. * * @param lis Listener to add * * @throws IllegalArgumentException * Thrown if a null <TT>ISQLExecutionListener</TT> passed. */ public synchronized void [[#variable1c99ffe0]](ISQLExecutionListener lis) { if (lis == null) { throw new IllegalArgumentException("null ISQLExecutionListener passed"); } _panel. [[#variable1c99ffe0]](lis); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1c99ffe0]] | addSQLExecutionListener |
1 | 2 | [[#1c99ffe0]] | removeSQLExecutionListener |