addButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
add();
}
});
JButton removeButton = new JButton(ImageLoader
.getIcon(IconKeys.LIST_REMOVE));
addButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
add();
}
});
JButton removeButton = new JButton(ImageLoader
.getIcon(IconKeys.LIST_REMOVE));
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/filter/ActionList.java
|
|
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/filter/CriteriaList.java
|
Method name: void update()
|
|
Method name: void update()
|
Number of AST nodes: 2
|
|
Number of AST nodes: 2
|
|
1 | addButton.addActionListener(new ActionListener() {↵ | | 1 | addButton.addActionListener(new ActionListener() {↵
|
2 | public void actionPerformed(ActionEvent e) {↵ | | 2 | public void actionPerformed(ActionEvent e) {↵
|
3 | add();↵ | | 3 | add();↵
|
4 | }↵ | | 4 | }↵
|
5 | });↵ | | 5 | });↵
|
|
6 | JButton removeButton = new JButton(ImageLoader↵ | | 6 | JButton removeButton = new JButton(ImageLoader↵
|
7 | .getIcon(IconKeys.LIST_REMOVE)); | | 7 | .getIcon(IconKeys.LIST_REMOVE));
|
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 | Clones are in different classes having the same super class |
Number of node comparisons | 0 |