CloneSet1796


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.955method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18281
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/SQLPanel.java
28299
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/SQLPanel.java
Next
Last
Clone Instance
1
Line Count
8
Source Line
281
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/SQLPanel.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");
  }
  //_listeners.add(ISQLExecutionListener.class, lis);
  _sqlExecPanel.addSQLExecutionListener(lis);
}


First
Previous
Clone Instance
2
Line Count
8
Source Line
299
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/SQLPanel.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");
  }
  //_listeners.remove(ISQLExecutionListener.class, lis);
  _sqlExecPanel.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 [[#variable1c98ed20]](ISQLExecutionListener lis) {
  if (lis == null) {
    throw new IllegalArgumentException("null ISQLExecutionListener passed");
  }
  //_listeners.remove(ISQLExecutionListener.class, lis);
  //_listeners.add(ISQLExecutionListener.class, lis);
  _sqlExecPanel. [[#variable1c98ed20]](lis);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1c98ed20]]
addSQLExecutionListener 
12[[#1c98ed20]]
removeSQLExecutionListener