update controllers and services, stick to crud #13

Merged
mirrerror merged 6 commits from dimas into master 2023-10-04 13:28:03 +00:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 5119b506b2 - Show all commits

View File

@@ -10,7 +10,7 @@ import java.util.List;
@Service
public class ExpenseService {
private ExpenseRepository expenseRepository;
private final ExpenseRepository expenseRepository;
@Autowired
public ExpenseService(ExpenseRepository expenseRepository) {

View File

@@ -10,7 +10,7 @@ import java.util.List;
@Service
public class IncomeService {
private IncomeRepository incomeRepository;
private final IncomeRepository incomeRepository;
@Autowired
public IncomeService(IncomeRepository incomeRepository) {

View File

@@ -10,7 +10,7 @@ import java.util.List;
@Service
public class UserService {
private UserRepository userRepository;
private final UserRepository userRepository;
@Autowired
public UserService(UserRepository userRepository) {