public class ResultTabEvent { private ISession _session; private IResultTab _tab; public ResultTabEvent(ISession session, IResultTab tab) throws IllegalArgumentException { super(); if (session == null) { throw new IllegalArgumentException("Null ISession passed"); } if (tab == null) { throw new IllegalArgumentException("Null ResultTab passed"); } _session = session; _tab = tab; } public ISession getSession() { return _session; } public IResultTab getResultTab() { return _tab
public class SQLResultExecuterTabEvent { private ISession _session; private ISQLResultExecuter _tab; public SQLResultExecuterTabEvent(ISession session, ISQLResultExecuter tab) throws IllegalArgumentException { super(); if (session == null) { throw new IllegalArgumentException("Null ISession passed"); } if (tab == null) { throw new IllegalArgumentException("Null ExecuterTab passed"); } _session = session; _tab = tab; } public ISession getSession() { return _session; } public ISQLResultExecuter getExecuter() { return _tab
Clone fragments detected by clone detection tool
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/event/ResultTabEvent.java File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/event/SQLResultExecuterTabEvent.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ResultTabEvent
1
public class SQLResultExecuterTabEvent
2
{
2
{
3
	private ISession _session;
3
	private ISession _session;
4
	private IResultTab _tab;
4
	private ISQLResultExecuter _tab;
5
	public ResultTabEvent(ISession session, IResultTab tab)
5
	public SQLResultExecuterTabEvent(ISession session, ISQLResultExecuter tab)
6
		throws IllegalArgumentException
6
			throws IllegalArgumentException
7
	{
7
	{
8
		super();
8
		super();
9
		if (session == null)
9
		if (session == null)
10
		{
10
		{
11
			throw new IllegalArgumentException("Null ISession passed");
11
			throw new IllegalArgumentException("Null ISession passed");
12
		}
12
		}
13
		if (tab == null)
13
		if (tab == null)
14
		{
14
		{
15
			throw new IllegalArgumentException("Null ResultTab passed");
15
			throw new IllegalArgumentException("Null ExecuterTab passed");
16
		}
16
		}
17
		_session = session;
17
		_session = session;
18
		_tab = tab;
18
		_tab = tab;
19
	}
19
	}
20
	public ISession getSession()
20
	public ISession getSession()
21
	{
21
	{
22
		return _session;
22
		return _session;
23
	}
23
	}
24
	public IResultTab getResultTab()
24
	public ISQLResultExecuter getExecuter()
25
	{
25
	{
26
		return _tab
26
		return _tab
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