Skip to content

Commit

Permalink
fixed files form Chart #7
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Mar 7, 2017
1 parent a829c7b commit 8b8165c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/Chart/7/org/jfree/data/time/TimePeriodValues.java
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,9 @@ private void updateBounds(TimePeriod period, int index) {
}

if (this.maxMiddleIndex >= 0) {
long s = getDataItem(this.minMiddleIndex).getPeriod().getStart()
long s = getDataItem(this.maxMiddleIndex).getPeriod().getStart()
.getTime();
long e = getDataItem(this.minMiddleIndex).getPeriod().getEnd()
long e = getDataItem(this.maxMiddleIndex).getPeriod().getEnd()
.getTime();
long maxMiddle = s + (e - s) / 2;
if (middle > maxMiddle) {
Expand Down

0 comments on commit 8b8165c

Please sign in to comment.