diff --git a/src/main/java/com/application/munera/views/expenses/CategoriesView.java b/src/main/java/com/application/munera/views/expenses/CategoriesView.java index 3f02f53..17dfd1c 100644 --- a/src/main/java/com/application/munera/views/expenses/CategoriesView.java +++ b/src/main/java/com/application/munera/views/expenses/CategoriesView.java @@ -32,8 +32,8 @@ import java.util.Optional; @Uses(Icon.class) public class CategoriesView extends Div implements BeforeEnterObserver { - private final String CATEGORY_ID = "categoryID"; - private final String CATEGORY_EDIT_ROUTE_TEMPLATE = "categories/%s/edit"; + private static final String CATEGORY_ID = "categoryID"; + private static final String CATEGORY_EDIT_ROUTE_TEMPLATE = "categories/%s/edit"; private final Grid grid = new Grid<>(Category.class, false); 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 e140c43..17634f4 100644 --- a/src/main/java/com/application/munera/views/expenses/ExpensesView.java +++ b/src/main/java/com/application/munera/views/expenses/ExpensesView.java @@ -41,8 +41,8 @@ import java.util.Optional; @Uses(Icon.class) public class ExpensesView extends Div implements BeforeEnterObserver { - private final String EXPENSE_ID = "expenseID"; - private final String EXPENSE_EDIT_ROUTE_TEMPLATE = "/%s/edit"; + private static final String EXPENSE_ID = "expenseID"; + private static final String EXPENSE_EDIT_ROUTE_TEMPLATE = "/%s/edit"; private final Grid grid = new Grid<>(Expense.class, false);