public synchronized void actionPerformed(ActionEvent evt)
{
if (_panel != null)
{
if (_cmd == null)
{
_cmd = new GotoNextResultsTabCommand(_panel);
}
try
{
_cmd.execute();
}
catch (Throwable ex)
{
final String msg = "Error occured seting current results tab";
_panel.getSession().showErrorMessage(msg + ": " + ex);
s_log.error(msg, ex);
public synchronized void actionPerformed(ActionEvent evt)
{
if (_panel != null)
{
if (_cmd == null)
{
_cmd = new GotoPreviousResultsTabCommand(_panel);
}
try
{
_cmd.execute();
}
catch (Throwable ex)
{
final String msg = "Error occured seting current results tab";
_panel.getSession().showErrorMessage(msg + ": " + ex);
s_log.error(msg, ex);
Clone fragments detected by clone detection tool
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/GotoNextResultsTabAction.java
|
|
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/GotoPreviousResultsTabAction.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public synchronized void actionPerformed(ActionEvent evt)↵ | | 1 | public synchronized void actionPerformed(ActionEvent evt)↵
|
2 | {↵ | | 2 | {↵
|
3 | if (_panel != null)↵ | | 3 | if (_panel != null)↵
|
4 | {↵ | | 4 | {↵
|
5 | if (_cmd == null)↵ | | 5 | if (_cmd == null)↵
|
6 | {↵ | | 6 | {↵
|
7 | _cmd = new GotoNextResultsTabCommand(_panel);↵ | | 7 | _cmd = new GotoPreviousResultsTabCommand(_panel);↵
|
8 | }↵ | | 8 | }↵
|
9 | try↵ | | 9 | try↵
|
10 | {↵ | | 10 | {↵
|
11 | _cmd.execute();↵ | | 11 | _cmd.execute();↵
|
12 | }↵ | | 12 | }↵
|
13 | catch (Throwable ex)↵ | | 13 | catch (Throwable ex)↵
|
14 | {↵ | | 14 | {↵
|
15 | final String msg = "Error occured seting current results tab";↵ | | 15 | final String msg = "Error occured seting current results tab";↵
|
16 | _panel.getSession().showErrorMessage(msg + ": " + ex);↵ | | 16 | _panel.getSession().showErrorMessage(msg + ": " + ex);↵
|
17 | s_log.error(msg, ex);↵ | | 17 | s_log.error(msg, ex);↵
|
18 | | | 18 |
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |