try { Integer.parseInt(jtextfieldBckPort.getText()); } catch (NumberFormatException e) { bufError.append(i18n.ERROR_PORT_NO_INTEGER + CR); if (!focusSet) { jtextfieldBckPort.requestFocusInWindow(); focusSet = true;
try { Integer.parseInt(jtextfieldResPort.getText()); } catch (NumberFormatException e) { bufError.append(i18n.ERROR_PORT_NO_INTEGER + CR); if (!focusSet) { jtextfieldResPort.requestFocusInWindow(); focusSet = true;
Clone fragments detected by clone detection tool
File path: /sql12/plugins/firebirdmanager/src/net/sourceforge/squirrel_sql/plugins/firebirdmanager/gui/FirebirdManagerBackupRestoreFrame.java File path: /sql12/plugins/firebirdmanager/src/net/sourceforge/squirrel_sql/plugins/firebirdmanager/gui/FirebirdManagerBackupRestoreFrame.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
try {
1
try {
2
				Integer.parseInt(jtextfieldBckPort.getText());
2
				Integer.parseInt(jtextfieldResPort.getText());
3
			} catch (NumberFormatException e) {
3
			} catch (NumberFormatException e) {
4
				bufError.append(i18n.ERROR_PORT_NO_INTEGER + CR);
4
				bufError.append(i18n.ERROR_PORT_NO_INTEGER + CR);
5
				if (!focusSet) {
5
				if (!focusSet) {
6
					jtextfieldBckPort.requestFocusInWindow();
6
					jtextfieldResPort.requestFocusInWindow();
7
					focusSet = true;
7
					focusSet = true;
8
				
8
				
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