Skip to content

Commit 263f7b6

Browse files
ddamkeddamke
authored andcommitted
change to better variable name
1 parent 7d32b19 commit 263f7b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public class ReportController {
104104

105105
private final TreeItem<TableRow> rootItem = new TreeItem<>();
106106

107-
private static List<String> workTime = new ArrayList<>();
107+
private static List<String> workTimeList = new ArrayList<>();
108108

109109
@Autowired
110110
public ReportController(final Model model, final Controller controller) {
@@ -180,7 +180,7 @@ protected void updateItem(String timeString, boolean empty) {
180180
} else {
181181
this.setGraphic(new Label(timeString));
182182

183-
for (String workTime : workTime) {
183+
for (String workTime : workTimeList) {
184184

185185
if (timeString.equals(workTime)) {
186186
Label workLabel = new Label(timeString);
@@ -239,7 +239,7 @@ private void updateReport(final LocalDate dateToShow) {
239239
final long projectWorkSeconds = controller.calcSeconds(onlyCurrentProjectWork);
240240

241241
if(project.isWork()){
242-
workTime.add(DateFormatter.secondsToHHMMSS(projectWorkSeconds));
242+
workTimeList.add(DateFormatter.secondsToHHMMSS(projectWorkSeconds));
243243
}
244244

245245
currentSeconds += projectWorkSeconds;

0 commit comments

Comments
 (0)