this.id = id;
this.type = type;
this.name = name;
this.color = color;
this.key = key;
this.file = file;
this.lastAccess = new Date();
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/calendar/src/main/java/org/columba/calendar/base/CalendarItem.java
|
|
File path: /columba-1.4-src/core/src/main/java/org/columba/core/io/StreamCache.java
|
Method name: void CalendarItem(String, ICalendarItem.TYPE, String, Color)
|
|
Method name: void CacheEntry(Object, File)
|
Number of AST nodes: 4
|
|
Number of AST nodes: 3
|
|
1 | this.id = id;↵ | | 1 | this.key = key;↵
|
2 | this.type = type;↵ | | 2 | this.file = file;↵
|
3 | this.name = name;↵ | | 3 | this.↵
|
4 | this.color = color; | | 4 | lastAccess = new Date();
|
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 |
Number of node comparisons | 12 |