Skip to content

Commit

Permalink
fixed files form Chart #17
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Mar 7, 2017
1 parent b841377 commit 4f78b91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projects/Chart/17/org/jfree/data/time/TimeSeries.java
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,8 @@ public void delete(int start, int end) {
* subclasses may differ.
*/
public Object clone() throws CloneNotSupportedException {
Object clone = createCopy(0, getItemCount() - 1);
TimeSeries clone = (TimeSeries) super.clone();
clone.data = (List) ObjectUtilities.deepClone(this.data);
return clone;
}

Expand Down

0 comments on commit 4f78b91

Please sign in to comment.