public class GetSGATraceAction extends SquirrelAction
{
private SGATracePanel _panel;
public GetSGATraceAction(IApplication app, Resources resources, SGATracePanel panel)
{
super(app, resources);
_panel = panel;
}
public void actionPerformed(ActionEvent evt)
{
CursorChanger cursorChg = new CursorChanger(getApplication().getMainFrame());
cursorChg.show();
try
{
_panel.populateSGATrace();
}
finally
{
cursorChg.restore()
public class GetSessionInfoAction extends SquirrelAction
{
private SessionInfoPanel _panel;
public GetSessionInfoAction(IApplication app, Resources resources, SessionInfoPanel panel)
{
super(app, resources);
_panel = panel;
}
public void actionPerformed(ActionEvent evt)
{
CursorChanger cursorChg = new CursorChanger(getApplication().getMainFrame());
cursorChg.show();
try
{
_panel.populateSessionInfo();
}
finally
{
cursorChg.restore()
Clone fragments detected by clone detection tool
File path: /sql12/plugins/oracle/src/net/sourceforge/squirrel_sql/plugins/oracle/SGAtrace/GetSGATraceAction.java
|
|
File path: /sql12/plugins/oracle/src/net/sourceforge/squirrel_sql/plugins/oracle/sessioninfo/GetSessionInfoAction.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public class GetSGATraceAction extends SquirrelAction↵ | | 1 | public class GetSessionInfoAction extends SquirrelAction↵
|
2 | {↵ | | 2 | {↵
|
3 | private SGATracePanel _panel;↵ | | 3 | private SessionInfoPanel _panel;↵
|
|
4 | public GetSGATraceAction(IApplication app, Resources resources, SGATracePanel panel)↵ | | 4 | public GetSessionInfoAction(IApplication app, Resources resources, SessionInfoPanel 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.populateSGATrace();↵ | | 15 | _panel.populateSessionInfo();↵
|
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 |