File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/accountlist/AccountListDialog.java | File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/filter/ConfigFrame.java | |||
Method name: void initComponents()
|
Method name: void initComponents()
|
|||
Number of AST nodes: 9 | Number of AST nodes: 9 | |||
1 | ButtonWithMnemonic closeButton = new ButtonWithMnemonic(↵ | 1 | ButtonWithMnemonic closeButton = new ButtonWithMnemonic(↵ | |
2 | MailResourceLoader.getString("global", "close"));↵ | 2 | MailResourceLoader.getString("global", "close"));↵ | |
3 | closeButton.setActionCommand("CLOSE");↵ | 3 | closeButton.setActionCommand("CLOSE"); //$NON-NLS-1$↵ | |
4 | closeButton.addActionListener(this);↵ | 4 | closeButton.addActionListener(this);↵ | |
5 | buttonPanel.add(closeButton);↵ | 5 | buttonPanel.add(closeButton);↵ | |
6 | ButtonWithMnemonic helpButton = new ButtonWithMnemonic(↵ | 6 | ButtonWithMnemonic helpButton = new ButtonWithMnemonic(↵ | |
7 | MailResourceLoader.getString("global", "help"));↵ | 7 | MailResourceLoader.getString("global", "help"));↵ | |
8 | buttonPanel.add(helpButton);↵ | 8 | buttonPanel.add(helpButton);↵ | |
9 | bottomPanel.add(buttonPanel, BorderLayout.EAST);↵ | 9 | bottomPanel.add(buttonPanel, BorderLayout.EAST);↵ | |
10 | getContentPane().add(bottomPanel, BorderLayout.SOUTH);↵ | 10 | getContentPane().add(bottomPanel, BorderLayout.SOUTH);↵ | |
11 | getRootPane().setDefaultButton(closeButton); | 11 |
| |
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 | 43 |
Number of mapped statements | 9 |
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 1 |
ID | Statement | ID | Statement | |
---|---|---|---|---|
75 | ButtonWithMnemonic closeButton = new ButtonWithMnemonic(MailResourceLoader.getString("global", "close")); | 112 | ButtonWithMnemonic closeButton = new ButtonWithMnemonic(MailResourceLoader.getString("global", "close")); | |
76 | closeButton.setActionCommand("CLOSE"); | 113 | closeButton.setActionCommand("CLOSE"); | |
77 | closeButton.addActionListener(this); | 114 | closeButton.addActionListener(this); | |
78 | buttonPanel.add(closeButton); | 115 | buttonPanel.add(closeButton); | |
79 | ButtonWithMnemonic helpButton = new ButtonWithMnemonic(MailResourceLoader.getString("global", "help")); | 116 | ButtonWithMnemonic helpButton = new ButtonWithMnemonic(MailResourceLoader.getString("global", "help")); | |
80 | buttonPanel.add(helpButton); | 117 | buttonPanel.add(helpButton); | |
81 | bottomPanel.add(buttonPanel, BorderLayout.EAST); | 118 | bottomPanel.add(buttonPanel, BorderLayout.EAST); | |
82 | getContentPane().add(bottomPanel, BorderLayout.SOUTH); | 119 | getContentPane().add(bottomPanel, BorderLayout.SOUTH); | |
83 | getRootPane().setDefaultButton(closeButton); | 120 | getRootPane().setDefaultButton(closeButton); |
Row | Violation |
---|