public Object[] toArray() {
return list.toArray();
}
public void remove(int index) {
list.remove(index);
fireIntervalRemoved(this, index, index);
}
public void removeElement(IBasicModelPartial item) {
int index = list.indexOf(item);
remove(index)
public Object[] toArray() {
return list.toArray();
}
public void remove(int index) {
list.remove(index);
fireIntervalRemoved(this, index, index);
}
public void removeElement(IHeaderItem item) {
int index = list.indexOf(item);
remove(index)
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/gui/list/AddressbookListModel.java
|
|
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/contact/list/ContactListModel.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public Object[] toArray() {↵ | | 1 | public Object[] toArray() {↵
|
2 | return list.toArray();↵ | | 2 | return list.toArray();↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void remove(int index) {↵ | | 4 | public void remove(int index) {↵
|
5 | list.remove(index);↵ | | 5 | list.remove(index);↵
|
6 | fireIntervalRemoved(this, index, index);↵ | | 6 | fireIntervalRemoved(this, index, index);↵
|
7 | }↵ | | 7 | }↵
|
|
8 | public void removeElement(IBasicModelPartial item) {↵ | | 8 | public void removeElement(IHeaderItem item) {↵
|
9 | int index = list.indexOf(item);↵ | | 9 | int index = list.indexOf(item);↵
|
|
10 | remove(index) | | 10 | remove(index)
|
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 |