public class FilterObjectsAction extends SquirrelAction implements ISessionAction { private ISession _session; public FilterObjectsAction(IApplication app) { super(app); } public void setSession(ISession session) { _session = session; } public void actionPerformed(ActionEvent evt) { if (_session != null) { new SessionPropertiesCommand(_session, 1).execute()
public class SessionPropertiesAction extends SquirrelAction implements ISessionAction { private ISession _session; public SessionPropertiesAction(IApplication app) { super(app); } public void setSession(ISession session) { _session = session; } public void actionPerformed(ActionEvent evt) { if (_session != null) { new SessionPropertiesCommand(_session).execute()
Clone fragments detected by clone detection tool
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/FilterObjectsAction.java File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/SessionPropertiesAction.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class FilterObjectsAction extends SquirrelAction 
1
public class SessionPropertiesAction extends SquirrelAction
2
implements ISessionAction
2
										implements ISessionAction
3
{
3
{
4
   private ISession _session;
4
	private ISession _session;
5
   public FilterObjectsAction(IApplication app)
5
	public SessionPropertiesAction(IApplication app)
6
   {
7
      
6
	{
8
super(app);
7
		super(app);
9
   }
10
   
8
	}
11
public void setSession(ISession session)
9
	public void setSession(ISession session)
12
   {
13
      
10
	{
14
_session = session;
11
		_session = session;
15
   }
16
   
12
	}
17
public void actionPerformed(ActionEvent evt)
13
	public void actionPerformed(ActionEvent evt)
18
   {
19
      
14
	{
20
if (_session != null)
15
		if (_session != null)
21
      {
22
         
16
		{
23
new SessionPropertiesCommand(_session, 1).execute()
17
			new SessionPropertiesCommand(_session).execute()
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