Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
30 | 2 | 3 | 0.951 | type_declarations |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 30 | 30 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/GotoNextResultsTabCommand.java |
2 | 30 | 29 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/GotoPreviousResultsTabCommand.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(); } } |
| |||||
/** * 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(); } } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1cd32900]] | GotoNextResultsTabCommand |
1 | 2 | [[#1cd32900]] | GotoPreviousResultsTabCommand |
2 | 1 | [[#1cd327c0]] | "ISQLPanelAPI == null" |
2 | 2 | [[#1cd327c0]] | "ISession == null" |
3 | 1 | [[#1cd32840]] | gotoNextResultsTab |
3 | 2 | [[#1cd32840]] | gotoPreviousResultsTab |