From 0b862f52fb5a0e6f813eb2a27fd92f17f3c1400f Mon Sep 17 00:00:00 2001 From: filippo-ferrari Date: Sun, 15 Sep 2024 15:21:03 +0200 Subject: [PATCH] refactor: views --- .../com/application/munera/views/dashboard/DashboardView.java | 2 +- .../com/application/munera/views/expenses/ExpensesView.java | 2 +- .../java/com/application/munera/views/people/PeopleView.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/application/munera/views/dashboard/DashboardView.java b/src/main/java/com/application/munera/views/dashboard/DashboardView.java index 57300f8..dca69ac 100644 --- a/src/main/java/com/application/munera/views/dashboard/DashboardView.java +++ b/src/main/java/com/application/munera/views/dashboard/DashboardView.java @@ -220,7 +220,7 @@ public class DashboardView extends Div { "} " + "} " + "}, " + - "series: " + seriesData.toString() + " " + + "series: " + seriesData + " " + "});"; } diff --git a/src/main/java/com/application/munera/views/expenses/ExpensesView.java b/src/main/java/com/application/munera/views/expenses/ExpensesView.java index b8ea8a3..ad7890d 100644 --- a/src/main/java/com/application/munera/views/expenses/ExpensesView.java +++ b/src/main/java/com/application/munera/views/expenses/ExpensesView.java @@ -60,7 +60,7 @@ public class ExpensesView extends Div implements BeforeEnterObserver { private final BeanValidationBinder binder; private Expense expense; - private Long userId; + private final Long userId; private final ExpenseService expenseService; private final PersonFacade personFacade; diff --git a/src/main/java/com/application/munera/views/people/PeopleView.java b/src/main/java/com/application/munera/views/people/PeopleView.java index 5408cb1..956ed06 100644 --- a/src/main/java/com/application/munera/views/people/PeopleView.java +++ b/src/main/java/com/application/munera/views/people/PeopleView.java @@ -57,8 +57,8 @@ public class PeopleView extends Div implements BeforeEnterObserver { private final BeanValidationBinder binder; private Person person; - private User loggedUser; - private Long userId; + private final User loggedUser; + private final Long userId; private final UserService userService; private final PersonFacade personFacade; private final ExpenseFacade expenseFacade;