CloneSet1794


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
17406
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/SQLPanelAPI.java
27423
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
406
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/SQLPanelAPI.java

/**
 * Add a listener for events in this SQL Panel.
 *
 * @param       lis             Listener to add
 *
 * @throws      IllegalArgumentException
 *                      Thrown if a null <TT>ISQLPanelListener</TT> passed.
 */
public synchronized void addSQLPanelListener(ISQLPanelListener lis) {
  if (lis == null) {
    throw new IllegalArgumentException("ISQLPanelListener == null");
  }
  _panel.addSQLPanelListener(lis);
}


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

/**
 * Remove a listener.
 *
 * @param       lis             Listener to remove
 *
 * @throws      IllegalArgumentException
 *                      Thrown if a null <TT>ISQLPanelListener</TT> passed.
 */
public synchronized void removeSQLPanelListener(ISQLPanelListener lis) {
  if (lis == null) {
    throw new IllegalArgumentException("ISQLPanelListener == null");
  }
  _panel.removeSQLPanelListener(lis);
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * Remove a listener.
         *
         * @param       lis             Listener to remove
         *
         * @throws      IllegalArgumentException
         *                      Thrown if a null <TT>ISQLPanelListener</TT> passed.
         */
/**
         * Add a listener for events in this SQL Panel.
         *
         * @param       lis             Listener to add
         *
         * @throws      IllegalArgumentException
         *                      Thrown if a null <TT>ISQLPanelListener</TT> passed.
         */
public synchronized void [[#variable1c99f5a0]](ISQLPanelListener lis) {
  if (lis == null) {
    throw new IllegalArgumentException("ISQLPanelListener == null");
  }
  _panel. [[#variable1c99f5a0]](lis);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1c99f5a0]]
addSQLPanelListener 
12[[#1c99f5a0]]
removeSQLPanelListener