if (_panel != null) { if (_cmd == null) { _cmd = new GotoNextResultsTabCommand(_panel); } try { _cmd.execute(); } catch (Throwable ex) { final String msg = "Error occured seting current results tab"; _panel.getSession().showErrorMessage(msg + ": " + ex); s_log.error(msg, ex);
if (_panel != null) { if (_cmd == null) { _cmd = new GotoPreviousResultsTabCommand(_panel); } try { _cmd.execute(); } catch (Throwable ex) { final String msg = "Error occured seting current results tab"; _panel.getSession().showErrorMessage(msg + ": " + ex); s_log.error(msg, ex);
Clone fragments detected by clone detection tool
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/GotoNextResultsTabAction.java File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/GotoPreviousResultsTabAction.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
if (_panel != null)
1
if (_panel != null)
2
		{
2
		{
3
			if (_cmd == null)
3
			if (_cmd == null)
4
			{
4
			{
5
				_cmd = new GotoNextResultsTabCommand(_panel);
5
				_cmd = new GotoPreviousResultsTabCommand(_panel);
6
			}
6
			}
7
			try
7
			try
8
			{
8
			{
9
				_cmd.execute();
9
				_cmd.execute();
10
			}
10
			}
11
			catch (Throwable ex)
11
			catch (Throwable ex)
12
			{
12
			{
13
				final String msg = "Error occured seting current results tab";
13
				final String msg = "Error occured seting current results tab";
14
				_panel.getSession().showErrorMessage(msg + ": " + ex);
14
				_panel.getSession().showErrorMessage(msg + ": " + ex);
15
				s_log.error(msg, ex);
15
				s_log.error(msg, ex);
16
			
16
			
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