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 DropSequenceAction extends AbstractRefactoringAction { private static final long serialVersionUID = -2293313754254825620L; public DropSequenceAction(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 DropSequenceCommand(_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/DropSequenceAction.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class DropSelectedTablesAction extends AbstractRefactoringAction
1
public class DropSequenceAction extends AbstractRefactoringAction
2
{
2
{
3
	private static final long serialVersionUID = -8517759137466833243L;
3
	private static final long serialVersionUID = -
4
2293313754254825620L;
5

4
	public DropSelectedTablesAction(IApplication app, Resources rsrc)
6
	public DropSequenceAction(IApplication app, Resources rsrc)
5
	{
7
	{
6
		super(app, rsrc);
8
		super(app, rsrc);
7
	}
9
	}
10

8
	/**
11
	/**
9
	 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getCommand(net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo[])
12
	 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getCommand(net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo[])
10
	 */
13
	 */
11
	@Override
14
	@Override
12
	protected ICommand getCommand(IDatabaseObjectInfo[] info)
15
	protected ICommand getCommand(IDatabaseObjectInfo[] info)
13
	{
16
	{
14
		return new DropTablesCommand(_session, info);
17
		return new DropSequenceCommand(_session, info);
15
	}
18
	}
19

16
	/**
20
	/**
17
	 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getErrorMessage()
21
	 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#getErrorMessage()
18
	 */
22
	 */
19
	@Override
23
	@Override
20
	protected String getErrorMessage()
24
	protected String getErrorMessage()
21
	{
25
	{
22
		return null;
26
		return null;
23
	}
27
	}
28

24
	/**
29
	/**
25
	 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#isMultipleObjectAction()
30
	 * @see net.sourceforge.squirrel_sql.plugins.refactoring.actions.AbstractRefactoringAction#isMultipleObjectAction()
26
	 */
31
	 */
27
	@Override
32
	@Override
28
	protected boolean isMultipleObjectAction()
33
	protected boolean isMultipleObjectAction()
29
	{
34
	{
30
		return true
35
		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