File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/gui/dialog/importfilter/LocationStep.java | File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/accountwizard/IncomingServerStep.java | |||
Method name: JComponent createComponent()
|
Method name: JComponent createComponent()
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | component.setLayout(new BoxLayout(component, BoxLayout.Y_AXIS));↵ | 1 | component.setLayout(new BoxLayout(component, BoxLayout.Y_AXIS));↵ | |
2 | component.add(new MultiLineLabel(AddressbookResourceLoader.getString(↵ | 2 | component.add(new MultiLineLabel(MailResourceLoader.getString(↵ | |
3 | "dialog", "addressbookimport", "location_text")));↵ | 3 | "dialog", "accountwizard", "incomingserver_text")));↵ | |
4 | component.add(Box.createVerticalStrut(40));↵ | 4 | component.add(Box.createVerticalStrut(40));↵ | |
5 | WizardTextField middlePanel = new WizardTextField(); | 5 |
| |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes having the same super class |
Number of node comparisons | 10 |
Number of mapped statements | 4 |
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 | Type 2 |
ID | Statement | ID | Statement | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2 | component.setLayout(new BoxLayout(component, BoxLayout.Y_AXIS)); | 2 | component.setLayout(new BoxLayout(component, BoxLayout.Y_AXIS)); | |||||||||||||||||
3 | component.add(new MultiLineLabel(AddressbookResourceLoader.getString("dialog", "addressbookimport", "location_text"))); |
| 3 | component.add(new MultiLineLabel(MailResourceLoader.getString("dialog", "accountwizard", "incomingserver_text"))); | ||||||||||||||||
4 | component.add(Box.createVerticalStrut(40)); | 4 | component.add(Box.createVerticalStrut(40)); | |||||||||||||||||
5 | WizardTextField middlePanel = new WizardTextField(); | 5 | WizardTextField middlePanel = new WizardTextField(); |
Row | Violation |
---|