public class VirtualItem {
private IContactStorage parentStore;
private String parentId;
public VirtualItem(IContactStorage parentStore, String parentId) {
this.parentStore = parentStore;
this.parentId = parentId;
}
public String getParentId() {
return parentId;
}
public IContactStorage getParentStore() {
return parentStore;
public class TagEvent implements ITagEvent {
private Object source;
private String id;
public TagEvent(Object source, String id) {
this.source = source;
this.id = id;
}
public String getId() {
return id;
}
public Object getSource() {
return source;
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/folder/virtual/VirtualItem.java
|
|
File path: /columba-1.4-src/core/src/main/java/org/columba/core/tagging/TagEvent.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public class VirtualItem {↵ | | 1 | public class ↵
|
|
2 | private IContactStorage parentStor↵ | | 2 | TagEvent implements ITagEvent {↵
|
|
3 | e;↵ | | 3 | private Object source;↵
|
4 | private String parentId;↵ | | 4 | private String id;↵
|
5 | ↵ | | 5 | ↵
|
6 | public VirtualItem(IContactStorage parentStore, String parentId) {↵ | | 6 | public TagEvent(Object source, String id) {↵
|
7 | this.parentStore = parentStore;↵ | | 7 | this.↵
|
8 | this.parentId = parentI↵ | | 8 | source = source;↵
|
9 | d;↵ | | 9 | this.id = id;↵
|
10 | }↵ | | 10 | }↵
|
|
11 | public String getParentId() {↵ | | 11 | public String getId() {↵
|
12 | return parentId;↵ | | 12 | return id;↵
|
13 | }↵ | | 13 | }↵
|
|
14 | public IContactStorage getParentStore() {↵ | | 14 | public Object getSource() {↵
|
15 | return parentStore;↵ | | 15 | return source;↵
|
16 | | | 16 |
|
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 |