CloneSet1795


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.955method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17308
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/SQLPanelAPI.java
27325
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/SQLPanelAPI.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
308
Source File
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);
}


First
Previous
Clone Instance
2
Line Count
7
Source Line
325
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/SQLPanelAPI.java

/**
 * 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);
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1c99ffe0]]
addSQLExecutionListener 
12[[#1c99ffe0]]
removeSQLExecutionListener