final String msg = "Error combining temp files into dump file"; showErrorMessage(msg); showErrorMessage(ex); s_log.error(msg, ex);
final String msg = "Error dumping driver info"; showErrorMessage(msg); showErrorMessage(th); s_log.error(msg, th);
Clone fragments detected by clone detection tool
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/DumpSessionCommand.java File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/DumpSessionCommand.java
Method name: void combineTempFiles(List, List) Method name: void execute()
Number of AST nodes: 4 Number of AST nodes: 4
1
final String msg = "Error combining temp files into dump file";
1
final String msg = "Error dumping driver info";
2
			showErrorMessage(msg);
2
				showErrorMessage(msg);
3
			showErrorMessage(ex);
3
				showErrorMessage(th);
4
			s_log.error(msg, ex);
4
				s_log.error(msg, th);
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 locationClones are declared in the same class
Number of node comparisons0