File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/composer/contact/SelectAddressDialog.java | File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/tree/util/CreateFolderDialog.java | |||
Method name: void initComponents()
|
Method name: void initComponents()
|
|||
Number of AST nodes: 6 | Number of AST nodes: 6 | |||
1 | okButton = new ButtonWithMnemonic(MailResourceLoader.getString(↵ | 1 | okButton = new ButtonWithMnemonic(MailResourceLoader.getString(↵ | |
2 | "global", "ok")); //$NON-NLS-1$ //$NON-NLS-2$↵ | 2 | "global", "ok"));↵ | |
3 | okButton.setActionCommand("OK"); //$NON-NLS-1$↵ | 3 | okButton.setActionCommand("OK");↵ | |
4 | okButton.addActionListener(this);↵ | 4 | okButton.addActionListener(this);↵ | |
5 | cancelButton = new ButtonWithMnemonic(MailResourceLoader.getString(↵ | 5 | cancelButton = new ButtonWithMnemonic(MailResourceLoader.getString(↵ | |
6 | "global", "cancel")); //$NON-NLS-1$ //$NON-NLS-2$↵ | 6 | "global", "cancel"));↵ | |
7 | cancelButton.setActionCommand("CANCEL"); //$NON-NLS-1$↵ | 7 | cancelButton.setActionCommand("CANCEL");↵ | |
8 | cancelButton.addActionListener(this); | 8 |
| |
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 | 19 |
Number of mapped statements | 6 |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
45 | okButton = new ButtonWithMnemonic(MailResourceLoader.getString("global", "ok")); |
| 19 | okButton = new ButtonWithMnemonic(MailResourceLoader.getString("global", "ok")); | ||||||||||
46 | okButton.setActionCommand("OK"); |
| 20 | okButton.setActionCommand("OK"); | ||||||||||
47 | okButton.addActionListener(this); |
| 21 | okButton.addActionListener(this); | ||||||||||
48 | cancelButton = new ButtonWithMnemonic(MailResourceLoader.getString("global", "cancel")); |
| 22 | cancelButton = new ButtonWithMnemonic(MailResourceLoader.getString("global", "cancel")); | ||||||||||
49 | cancelButton.setActionCommand("CANCEL"); |
| 23 | cancelButton.setActionCommand("CANCEL"); | ||||||||||
50 | cancelButton.addActionListener(this); |
| 24 | cancelButton.addActionListener(this); |
Row | Violation |
---|