CloneSet602


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9230.969block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19318
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/Day.java
29340
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/data/time/Day.java
Next
Last
Clone Instance
1
Line Count
9
Source Line
318
Source File
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();
}


First
Previous
Clone Instance
2
Line Count
9
Source Line
340
Source File
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, 23, 59, 59);
  calendar.set(Calendar.MILLISECOND, 999);
  //return calendar.getTimeInMillis();  // this won't work for JDK 1.3
  return calendar.getTime().getTime();
}


Clone AbstractionParameter Count: 3Parameter Bindings

{
  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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18ca0de0]]
0 
12[[#18ca0de0]]
23 
21[[#18ca0ea0]]
0 
22[[#18ca0ea0]]
59 
31[[#18ca0e80]]
0 
32[[#18ca0e80]]
999