public class GetDBOutputAction extends SquirrelAction
{
private DBOutputPanel _panel;
public GetDBOutputAction(IApplication app, Resources resources, DBOutputPanel panel)
{
super(app, resources);
_panel = panel;
}
public void actionPerformed(ActionEvent evt)
{
CursorChanger cursorChg = new CursorChanger(getApplication().getMainFrame());
cursorChg.show();
try
{
_panel.populateDBOutput();
}
finally
{
cursorChg.restore()
public class GetInvalidObjectsAction extends SquirrelAction
{
private InvalidObjectsPanel _panel;
public GetInvalidObjectsAction(IApplication app, Resources resources, InvalidObjectsPanel panel)
{
super(app, resources);
_panel = panel;
}
public void actionPerformed(ActionEvent evt)
{
CursorChanger cursorChg = new CursorChanger(getApplication().getMainFrame());
cursorChg.show();
try
{
_panel.repopulateInvalidObjects();
}
finally
{
cursorChg.restore()
Clone fragments detected by clone detection tool
File path: /sql12/plugins/oracle/src/net/sourceforge/squirrel_sql/plugins/oracle/dboutput/GetDBOutputAction.java
|
|
File path: /sql12/plugins/oracle/src/net/sourceforge/squirrel_sql/plugins/oracle/invalidobjects/GetInvalidObjectsAction.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public class GetDBOutputAction extends SquirrelAction↵ | | 1 | public class GetInvalidObjectsAction extends SquirrelAction↵
|
2 | {↵ | | 2 | {↵
|
3 | private DBOutputPanel _panel;↵ | | 3 | private InvalidObjectsPanel _panel;↵
|
|
4 | public GetDBOutputAction(IApplication app, Resources resources, DBOutputPanel panel)↵ | | 4 | public GetInvalidObjectsAction(IApplication app, Resources resources, InvalidObjectsPanel panel)↵
|
5 | {↵ | | 5 | {↵
|
6 | super(app, resources);↵ | | 6 | super(app, resources);↵
|
7 | _panel = panel;↵ | | 7 | _panel = panel;↵
|
8 | }↵ | | 8 | }↵
|
|
9 | public void actionPerformed(ActionEvent evt)↵ | | 9 | public void actionPerformed(ActionEvent evt)↵
|
10 | {↵ | | 10 | {↵
|
11 | CursorChanger cursorChg = new CursorChanger(getApplication().getMainFrame());↵ | | 11 | CursorChanger cursorChg = new CursorChanger(getApplication().getMainFrame());↵
|
12 | cursorChg.show();↵ | | 12 | cursorChg.show();↵
|
13 | try↵ | | 13 | try↵
|
14 | {↵ | | 14 | {↵
|
15 | _panel.populateDBOutput();↵ | | 15 | _panel.repopulateInvalidObjects();↵
|
16 | }↵ | | 16 | }↵
|
17 | finally↵ | | 17 | finally↵
|
18 | {↵ | | 18 | {↵
|
19 | cursorChg.restore() | | 19 | cursorChg.restore()
|
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 |