CloneSet553


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

private void fireSQLEntryAreaInstalled() {
  // Guaranteed to be non-null.
  Object[] listeners = _listeners.getListenerList();
  // Process the listeners last to first, notifying
  // those that are interested in this event.
  SQLPanelEvent evt = null;
  for (int i = listeners.length - 2; i >= 0; i -= 2) {
    if (listeners[i] == ISQLPanelListener.class ) {
      // Lazily create the event:
      if (evt == null) {
        evt = new SQLPanelEvent(_session, this );
      }
      ((ISQLPanelListener) listeners[i + 1]).sqlEntryAreaInstalled(evt);
    }
  }
}


First
Previous
Clone Instance
2
Line Count
17
Source Line
583
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/SQLPanel.java

private void fireSQLEntryAreaClosed() {
  // Guaranteed to be non-null.
  Object[] listeners = _listeners.getListenerList();
  // Process the listeners last to first, notifying
  // those that are interested in this event.
  SQLPanelEvent evt = null;
  for (int i = listeners.length - 2; i >= 0; i -= 2) {
    if (listeners[i] == ISQLPanelListener.class ) {
      // Lazily create the event:
      if (evt == null) {
        evt = new SQLPanelEvent(_session, this );
      }
      ((ISQLPanelListener) listeners[i + 1]).sqlEntryAreaClosed(evt);
    }
  }
}


Clone AbstractionParameter Count: 2Parameter Bindings

private void [[#variable1cea36e0]]() {
  // Guaranteed to be non-null.
  Object[] listeners = _listeners.getListenerList();
  // Process the listeners last to first, notifying
  // those that are interested in this event.
  SQLPanelEvent evt = null;
  for (int i = listeners.length - 2; i >= 0; i -= 2) {
    if (listeners[i] == ISQLPanelListener.class ) {
      // Lazily create the event:
      if (evt == null) {
        evt = new SQLPanelEvent(_session, this );
      }
      ((ISQLPanelListener) listeners[i + 1]). [[#variable1cea3640]](evt);
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1cea36e0]]
fireSQLEntryAreaInstalled 
12[[#1cea36e0]]
fireSQLEntryAreaClosed 
21[[#1cea3640]]
sqlEntryAreaInstalled 
22[[#1cea3640]]
sqlEntryAreaClosed