CloneSet975


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
30230.951type_declarations
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13030
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/GotoNextResultsTabCommand.java
23029
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/GotoPreviousResultsTabCommand.java
Next
Last
Clone Instance
1
Line Count
30
Source Line
30
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/GotoNextResultsTabCommand.java

/**
 * This <CODE>ICommand</CODE> refreshes the object tree.
 *
 * @author  <A HREF="mailto:colbell@users.sourceforge.net">Colin Bell</A>
 */
public class GotoNextResultsTabCommand implements ICommand {
  /** The current panel. */
  private final ISQLPanelAPI _panel;

  /**
   * Ctor.
   *
   * @param       panel   The SQL Panel we want to display the next results
   *                                      tab for.
   *
   * @throws      IllegalArgumentException
   *                      Thrown if a <TT>null</TT> <TT>ISQLPanelAPI</TT> passed.
   */
  public GotoNextResultsTabCommand(ISQLPanelAPI panel) {
    super();
    if (panel == null) {
      throw new IllegalArgumentException("ISQLPanelAPI == null");
    }
    _panel = panel;
  }

  /**
   * Display the next results tab.
   */
  public void execute() {
    _panel.gotoNextResultsTab();
  }
}




First
Previous
Clone Instance
2
Line Count
30
Source Line
29
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/GotoPreviousResultsTabCommand.java

/**
 * Display the previous SQL results tab.
 *
 * @author  <A HREF="mailto:colbell@users.sourceforge.net">Colin Bell</A>
 */
public class GotoPreviousResultsTabCommand implements ICommand {
  /** Current panel. */
  private final ISQLPanelAPI _panel;

  /**
   * Ctor.
   *
   * @param       panel   The SQL Panel we want to display the previous results
   *                                      tab for.
   *
   * @throws      IllegalArgumentException
   *                      Thrown if a <TT>null</TT> <TT>ISQLPanelAPI</TT> passed.
   */
  public GotoPreviousResultsTabCommand(ISQLPanelAPI panel) {
    super();
    if (panel == null) {
      throw new IllegalArgumentException("ISession == null");
    }
    _panel = panel;
  }

  /**
   * Display the previous results tab.
   */
  public void execute() {
    _panel.gotoPreviousResultsTab();
  }
}




Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * Display the previous SQL results tab.
 *
 * @author  <A HREF="mailto:colbell@users.sourceforge.net">Colin Bell</A>
 */
/**
 * This <CODE>ICommand</CODE> refreshes the object tree.
 *
 * @author  <A HREF="mailto:colbell@users.sourceforge.net">Colin Bell</A>
 */
public class [[#variable1cd32900]]implements ICommand {
  /** Current panel. */
  /** The current panel. */
  private final ISQLPanelAPI _panel;

  /**
           * Ctor.
           *
           * @param       panel   The SQL Panel we want to display the previous results
           *                                      tab for.
           *
           * @throws      IllegalArgumentException
           *                      Thrown if a <TT>null</TT> <TT>ISQLPanelAPI</TT> passed.
           */
  /**
           * Ctor.
           *
           * @param       panel   The SQL Panel we want to display the next results
           *                                      tab for.
           *
           * @throws      IllegalArgumentException
           *                      Thrown if a <TT>null</TT> <TT>ISQLPanelAPI</TT> passed.
           */
  public [[#variable1cd32900]](ISQLPanelAPI panel) {
    super();
    if (panel == null) {
      throw new IllegalArgumentException( [[#variable1cd327c0]]);
    }
    _panel = panel;
  }

  /**
           * Display the previous results tab.
           */
  /**
           * Display the next results tab.
           */
  public void execute() {
    _panel. [[#variable1cd32840]]();
  }
}


 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1cd32900]]
GotoNextResultsTabCommand 
12[[#1cd32900]]
GotoPreviousResultsTabCommand 
21[[#1cd327c0]]
"ISQLPanelAPI == null" 
22[[#1cd327c0]]
"ISession == null" 
31[[#1cd32840]]
gotoNextResultsTab 
32[[#1cd32840]]
gotoPreviousResultsTab