public class DropSelectedTablesAction extends AbstractRefactoringAction { private static final long serialVersionUID = -8517759137466833243L; public DropSelectedTablesAction(IApplication app, Resources rsrc) { super(app, rsrc); } /** * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getCommand(net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo[]) */ @Override protected ICommand getCommand(IDatabaseObjectInfo[] info) { return new DropTablesCommand(_session, info); } /** * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getErrorMessage() */ @Override protected String getErrorMessage() { return null; } /** * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#isMultipleObjectAction() */ @Override protected boolean isMultipleObjectAction() { return true
public class DropViewAction extends AbstractRefactoringAction { private static final long serialVersionUID = 375335286385572772L; public DropViewAction(IApplication app, Resources rsrc) { super(app, rsrc); } /** * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getCommand(net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo[]) */ @Override protected ICommand getCommand(IDatabaseObjectInfo[] info) { return new DropViewCommand(_session, info); } /** * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getErrorMessage() */ @Override protected String getErrorMessage() { return null; } /** * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#isMultipleObjectAction() */ @Override protected boolean isMultipleObjectAction() { return true
Clone fragments detected by clone detection tool
File path: /sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/DropSelectedTablesAction.java File path: /sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/DropViewAction.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class DropSelectedTablesAction extends AbstractRefactoringAction
1
public class DropViewAction extends AbstractRefactoringAction
2
{
2
 {
3
	private static final long serialVersionUID = -8517759137466833243L;
3
	private static final long serialVersionUID = 
4
	public DropSelectedTables
4
375335286385572772L;
5
Action(IApplication app, Resources rsrc)
5
	public DropViewAction(IApplication app, Resources rsrc)
6
	{
7
		
6
 {
8
super(app, rsrc);
7
        super(app, rsrc);
9
	}
10
	/**
11
	
8
    }
9
    /**
12
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getCommand(net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo[])
10
    * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getCommand(net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo[])
13
	 */
14
	
11
    */
15
@Override
12
   @Override
16
	
17
protected ICommand getCommand(IDatabaseObjectInfo[] info)
13
    protected ICommand getCommand(IDatabaseObjectInfo[] info)
18
	{
19
		
14
 {
20
return new DropTablesCommand(_session, info);
15
        return new DropViewCommand(_session, info);
21
	}
22
	/**
23
	
16
    }
17
    /**
24
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getErrorMessage()
18
    * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getErrorMessage()
25
	 */
26
	
19
    */
27
@Override
20
   @Override
28
	
29
protected String getErrorMessage()
21
    protected String getErrorMessage()
30
	{
31
		return null;
32
	}
33
	/**
34
	
22
 {
23
        return null;
24
    }
25
    /**
35
 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#isMultipleObjectAction()
26
    * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#isMultipleObjectAction()
36
	 */
37
	
27
    */
38
@Override
28
   @Override
39
	
40
protected boolean isMultipleObjectAction()
29
    protected boolean isMultipleObjectAction()
41
	{
42
		
30
 {
43
return true
31
        return true
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0