Skip to content

Commit 625fa2e

Browse files
committed
renamed variable
1 parent 982f1ca commit 625fa2e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main/java/de/doubleslash/keeptime/view/ReportController.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,11 @@ private void initialize() {
108108
colorTimeLine = new ColorTimeLine(colorTimeLineCanvas);
109109
}
110110

111-
private void updateReport(final LocalDate newvalue) {
111+
private void updateReport(final LocalDate dateToShow) {
112112
reportRoot.requestFocus();
113-
this.currentDayLabel.setText(DateFormatter.toDayDateString(newvalue));
114-
final List<Work> currentWorkItems = model.getWorkRepository().findByCreationDate(newvalue);
113+
114+
this.currentDayLabel.setText(DateFormatter.toDayDateString(dateToShow));
115+
final List<Work> currentWorkItems = model.getWorkRepository().findByCreationDate(dateToShow);
115116

116117
colorTimeLine.update(currentWorkItems, controller.calcSeconds(currentWorkItems));
117118

0 commit comments

Comments
 (0)