if (isPopAccount()) {
c.weightx = 0.1;
c.gridwidth = GridBagConstraints.RELATIVE;
layout.setConstraints(inboxLabel, c);
folderPanel.add(inboxLabel);
c.gridwidth = GridBagConstraints.REMAINDER;
c.weightx = 0.9;
layout.setConstraints(inboxButton, c);
folderPanel.add(inboxButton);
}
if (!isPopAccount()) {
c.weightx = 0.1;
c.gridwidth = GridBagConstraints.RELATIVE;
layout.setConstraints(trashLabel, c);
folderPanel.add(trashLabel);
c.gridwidth = GridBagConstraints.REMAINDER;
c.weightx = 0.9;
layout.setConstraints(trashButton, c);
folderPanel.add(trashButton);
}
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/account/SpecialFoldersPanel.java
|
|
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/account/SpecialFoldersPanel.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | if (isPopAccount()) {↵ | | 1 | if (!isPopAccount()) {↵
|
2 | c.weightx = 0.1;↵ | | 2 | c.weightx = 0.1;↵
|
3 | c.gridwidth = GridBagConstraints.RELATIVE;↵ | | 3 | c.gridwidth = GridBagConstraints.RELATIVE;↵
|
4 | layout.setConstraints(inboxLabel, c);↵ | | 4 | layout.setConstraints(trashLabel, c);↵
|
5 | folderPanel.add(inboxLabel);↵ | | 5 | folderPanel.add(trashLabel);↵
|
|
6 | c.gridwidth = GridBagConstraints.REMAINDER;↵ | | 6 | c.gridwidth = GridBagConstraints.REMAINDER;↵
|
7 | c.weightx = 0.9;↵ | | 7 | c.weightx = 0.9;↵
|
8 | layout.setConstraints(inboxButton, c);↵ | | 8 | layout.setConstraints(trashButton, c);↵
|
9 | folderPanel.add(inboxButton);↵ | | 9 | folderPanel.add(trashButton);↵
|
10 | } | | 10 | }
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |