File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/gui/dialog/contact/ContactEditorDialog.java | File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/gui/dialog/contact/ContactEditorDialog.java | |||
Method name: void fillPhoneView(PhoneModel, JComboBox, JTextField)
|
Method name: void fillPhoneView(PhoneModel, JComboBox, JTextField)
|
|||
Number of AST nodes: 4 | Number of AST nodes: 8 | |||
1 | if (m.getType() == PhoneModel.TYPE_PRIMARY_PHONE)↵ | |||
1 | telephoneComboBox.setSelectedIndex(0);↵ | 2 | telephoneComboBox.setSelectedIndex(13);↵ | |
2 | else if (m.getType() == PhoneModel.TYPE_ASSISTANT_PHONE)↵ | 3 | else if (m.getType() == PhoneModel.TYPE_RADIO)↵ | |
3 | telephoneComboBox.setSelectedIndex(1);↵ | 4 | telephoneComboBox.setSelectedIndex(14);↵ | |
4 | else if (m.getType() == PhoneModel.TYPE_BUSINESS_FAX)↵ | 5 | else if (m.getType() == PhoneModel.TYPE_TELEX)↵ | |
5 | telephoneComboBox.setSelectedIndex(2);↵ | 6 | telephoneComboBox.setSelectedIndex(15);↵ | |
6 | else if (m.getType() == PhoneModel.TYPE_CALLBACK_PHONE)↵ | 7 | else if (m.getType() == PhoneModel.TYPE_TTY)↵ | |
7 | telephoneComboBox.setSelectedIndex(3); | 8 | telephoneComboBox.setSelectedIndex(16); | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 1 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in the same method |
Number of node comparisons | 0 |
Number of mapped statements | 0 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Unknown type |
ID | Statement | ID | Statement |
---|
Row | Violation |
---|