public class HQLToolsPopUpAction extends SquirrelAction
{
private ToolsPopupController _toolsPopupController;
public HQLToolsPopUpAction(HibernatePluginResources resources, ToolsPopupController toolsPopupController, IApplication application)
{
super(application, resources);
_toolsPopupController = toolsPopupController;
}
public void actionPerformed(ActionEvent e)
{
_toolsPopupController.showToolsPopup();
public class ClearDBOutputAction extends SquirrelAction
{
private DBOutputPanel _panel;
public ClearDBOutputAction(IApplication app, Resources resources, DBOutputPanel panel)
{
super(app, resources);
_panel = panel;
}
public void actionPerformed(ActionEvent evt)
{
_panel.clearOutput();
Clone fragments detected by clone detection tool
File path: /sql12/plugins/hibernate/src/net/sourceforge/squirrel_sql/plugins/hibernate/HQLToolsPopUpAction.java
|
|
File path: /sql12/plugins/oracle/src/net/sourceforge/squirrel_sql/plugins/oracle/dboutput/ClearDBOutputAction.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public class HQLToolsPopUpAction extends SquirrelAction↵ | | 1 | public class ClearDBOutputAction extends SquirrelAction↵
|
2 | {↵ | | 2 | {↵
|
3 | private ToolsPopupController _toolsPopupController;↵ | | 3 | private ↵
|
|
4 | public HQLToolsPopUpAction(HibernatePluginResources resources, ToolsPopupController toolsPopupController, IApplication application)↵ | | |
|
5 | {↵ | | |
|
6 | ↵ | | 4 | DBOutputPanel _panel;↵
|
|
| | | 5 | public ClearDBOutputAction(IApplication app, Resources resources, DBOutputPanel panel)↵
|
| | | 6 | {↵
|
7 | super(application, resources);↵ | | 7 | super(app, resources);↵
|
8 | _toolsPopupController = toolsPopupController;↵ | | 8 | ↵
|
9 | }↵ | | |
|
|
|
10 | ↵ | | 9 | _panel = panel;↵
|
| | | 10 | }↵
|
|
11 | public void actionPerformed(ActionEvent e)↵ | | 11 | public void actionPerformed(ActionEvent evt)↵
|
| | | 12 | {↵
|
12 | {↵ | | 13 | ↵
|
13 | _toolsPopupController.showToolsPopup();↵ | | 14 | _panel.clearOutput();↵
|
14 | | | 15 |
|
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 |