item.setString(OutgoingItem.USER, loginTextField.getText()); item.setBoolean(OutgoingItem.SAVE_PASSWORD, storePasswordCheckBox .isSelected()); item.setString(OutgoingItem.PORT, ((Integer) portSpinner.getValue()).toString()); item.setString(OutgoingItem.HOST, hostTextField.getText()); item.setBoolean(OutgoingItem.ENABLE_SSL, secureCheckBox .isSelected());
item.setString(OutgoingItem.USER, loginTextField.getText()); item.setBoolean(OutgoingItem.SAVE_PASSWORD, storePasswordCheckBox .isSelected()); item.setString(OutgoingItem.PORT, ((Integer) portSpinner.getValue()) .toString()); item.setString(OutgoingItem.HOST, hostTextField.getText()); item.setBoolean(OutgoingItem.ENABLE_SSL, secureCheckBox.isSelected());
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/account/OutgoingServerPanel.java File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/account/OutgoingServerPanel.java
Method name: void updateComponents(boolean) Method name: AccountItem getCurrentDialogSettings()
Number of AST nodes: 5 Number of AST nodes: 5
1
item.setString(OutgoingItem.USER, loginTextField.getText());
1
item.setString(OutgoingItem.USER, loginTextField.getText());
2
			item.setBoolean(OutgoingItem.SAVE_PASSWORD, storePasswordCheckBox
2
		item.setBoolean(OutgoingItem.SAVE_PASSWORD, storePasswordCheckBox
3
					.isSelected());
3
				.isSelected());
4
			item.setString(OutgoingItem.PORT,
4
		item.setString(OutgoingItem.PORT,
5
					((Integer) portSpinner.getValue())
5
 ((Integer) portSpinner.getValue())
6
.toString());
6
				.toString());
7
			item.setString(OutgoingItem.HOST, hostTextField.getText());
7
		item.setString(OutgoingItem.HOST, hostTextField.getText());
8
			item.setBoolean(OutgoingItem.ENABLE_SSL, secureCheckBox
8
		item.setBoolean(OutgoingItem.ENABLE_SSL, secureCheckBox
9
					.isSelected());
9
.isSelected());
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