Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 3 | 0.969 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 318 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/Day.java |
2 | 9 | 340 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/Day.java |
| |||||
{ int year = this.serialDate.getYYYY(); int month = this.serialDate.getMonth(); int day = this.serialDate.getDayOfMonth(); calendar.clear(); calendar.set(year, month - 1, day, 0, 0, 0); calendar.set(Calendar.MILLISECOND, 0); //return calendar.getTimeInMillis(); // this won't work for JDK 1.3 return calendar.getTime().getTime(); } |
| |||||
{ int year = this.serialDate.getYYYY(); int month = this.serialDate.getMonth(); int day = this.serialDate.getDayOfMonth(); calendar.clear(); calendar.set(year, month - 1, day, 23, 59, 59); calendar.set(Calendar.MILLISECOND, 999); //return calendar.getTimeInMillis(); // this won't work for JDK 1.3 return calendar.getTime().getTime(); } |
| |||
{ int year = this.serialDate.getYYYY(); int month = this.serialDate.getMonth(); int day = this.serialDate.getDayOfMonth(); calendar.clear(); calendar.set(year, month - 1, day, [[#variable18ca0de0]], [[#variable18ca0ea0]], [[#variable18ca0ea0]]); calendar.set(Calendar.MILLISECOND, [[#variable18ca0e80]]); //return calendar.getTimeInMillis(); // this won't work for JDK 1.3 return calendar.getTime().getTime(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18ca0de0]] | 0 |
1 | 2 | [[#18ca0de0]] | 23 |
2 | 1 | [[#18ca0ea0]] | 0 |
2 | 2 | [[#18ca0ea0]] | 59 |
3 | 1 | [[#18ca0e80]] | 0 |
3 | 2 | [[#18ca0e80]] | 999 |