Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.962 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 58 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/mainframe/action/ConnectToAliasAction.java |
2 | 7 | 65 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/mainframe/action/CopyAliasAction.java |
| |||||
/** * Perform this action. Retrieve the current alias from this list and * connect to it. * * @param evt The current event. */ public void actionPerformed(ActionEvent evt) { moveToFrontAndSelectAliasFrame(); final SQLAlias alias = _aliases.getSelectedAlias(); if (alias != null) { new ConnectToAliasCommand(getApplication(), alias).execute(); } } |
| |||||
/** * Perform this action. Use the <TT>CopyAliasCommand</TT>. * * @param evt The current event. */ public void actionPerformed(ActionEvent evt) { moveToFrontAndSelectAliasFrame(); SQLAlias alias = _aliases.getSelectedAlias(); if (alias != null) { new CopyAliasCommand(getApplication(), alias).execute(); } } |
| |||
/** * Perform this action. Use the <TT>CopyAliasCommand</TT>. * * @param evt The current event. */ /** * Perform this action. Retrieve the current alias from this list and * connect to it. * * @param evt The current event. */ public void actionPerformed(ActionEvent evt) { moveToFrontAndSelectAliasFrame(); [[#variable1c821540]]SQLAlias alias = _aliases.getSelectedAlias(); if (alias != null) { new [[#variable1c821320]](getApplication(), alias).execute(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1c821540]] | final |
1 | 2 | [[#1c821540]] | |
2 | 1 | [[#1c821320]] | ConnectToAliasCommand |
2 | 2 | [[#1c821320]] | CopyAliasCommand |