if (_tree != null) { CursorChanger cursorChg = new CursorChanger(getApplication().getMainFrame()); cursorChg.show(); try { new RefreshObjectTreeCommand(_tree).execute(); } finally { cursorChg.restore();
if (_tree != null) { CursorChanger cursorChg = new CursorChanger(getApplication().getMainFrame()); cursorChg.show(); try { new RefreshObjectTreeItemCommand(_tree).execute(); } finally { cursorChg.restore();
Clone fragments detected by clone detection tool
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/RefreshObjectTreeAction.java File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/RefreshObjectTreeItemAction.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
if (_tree != null)
1
if (_tree != null)
2
		{
2
		{
3
			CursorChanger cursorChg = new CursorChanger(getApplication().getMainFrame());
3
			CursorChanger cursorChg = new CursorChanger(getApplication().getMainFrame());
4
			cursorChg.show();
4
			cursorChg.show();
5
			try
5
			try
6
			{
6
			{
7
				new RefreshObjectTreeCommand(_tree).execute();
7
				new RefreshObjectTreeItemCommand(_tree).execute();
8
			}
8
			}
9
			finally
9
			finally
10
			{
10
			{
11
				cursorChg.restore();
11
				cursorChg.restore();
12
			
12
			
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