CloneSet1602


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.961method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17218
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/SQLResultExecuterPanel.java
27235
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/SQLResultExecuterPanel.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
218
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/SQLResultExecuterPanel.java

/**
 * Add a listener listening for SQL Execution.
 *
 * @param       lis      Listener
 *
 * @throws      IllegalArgumentException
 *                      If a null <TT>ISQLExecutionListener</TT> passed.
 */
public synchronized void addSQLExecutionListener(ISQLExecutionListener lis) {
  if (lis == null) {
    throw new IllegalArgumentException("ISQLExecutionListener == null");
  }
  _listeners.add(ISQLExecutionListener.class , lis);
}


First
Previous
Clone Instance
2
Line Count
7
Source Line
235
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/SQLResultExecuterPanel.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("ISQLExecutionListener == null");
  }
  _listeners.remove(ISQLExecutionListener.class , lis);
}


Clone AbstractionParameter Count: 2Parameter 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
         *
         * @throws      IllegalArgumentException
         *                      If a null <TT>ISQLExecutionListener</TT> passed.
         */
public synchronized void [[#variable1c91f5a0]](ISQLExecutionListener lis) {
  if (lis == null) {
    throw new IllegalArgumentException("ISQLExecutionListener == null");
  }
  _listeners. [[#variable1c91f460]](ISQLExecutionListener.class , lis);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1c91f5a0]]
addSQLExecutionListener 
12[[#1c91f5a0]]
removeSQLExecutionListener 
21[[#1c91f460]]
add 
22[[#1c91f460]]
remove