private final class BackAction extends SquirrelAction
{
public BackAction(IApplication app)
{
super(app);
if (app == null)
{
throw new IllegalArgumentException("Null IApplication passed");
}
}
public void actionPerformed(ActionEvent evt)
{
_pnl.goBack()
private final class RefreshAction extends SquirrelAction
{
public RefreshAction(IApplication app)
{
super(app);
if (app == null)
{
throw new IllegalArgumentException("Null IApplication passed");
}
}
public void actionPerformed(ActionEvent evt)
{
_pnl.refreshPage()
Clone fragments detected by clone detection tool
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/gui/HtmlViewerPanelToolBar.java
|
|
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/gui/HtmlViewerPanelToolBar.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | private final class BackAction extends SquirrelAction↵ | | 1 | private final class RefreshAction extends SquirrelAction↵
|
2 | {↵ | | 2 | {↵
|
3 | public BackAction(IApplication app)↵ | | 3 | public RefreshAction(IApplication app)↵
|
4 | {↵ | | 4 | {↵
|
5 | super(app);↵ | | 5 | super(app);↵
|
6 | if (app == null)↵ | | 6 | if (app == null)↵
|
7 | {↵ | | 7 | {↵
|
8 | throw new IllegalArgumentException("Null IApplication passed");↵ | | 8 | throw new IllegalArgumentException("Null IApplication passed");↵
|
9 | }↵ | | 9 | }↵
|
10 | }↵ | | 10 | }↵
|
|
11 | public void actionPerformed(ActionEvent evt)↵ | | 11 | public void actionPerformed(ActionEvent evt)↵
|
12 | {↵ | | 12 | {↵
|
13 | _pnl.goBack() | | 13 | _pnl.refreshPage()
|
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 |