From 02d9fda6b72679653110a96a142c5acca8e3727b Mon Sep 17 00:00:00 2001 From: Phan Huy Tran Date: Wed, 23 Oct 2024 12:48:22 +0200 Subject: [PATCH] QA --- .../java/de/szut/lf8_starter/employee/EmployeeService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/de/szut/lf8_starter/employee/EmployeeService.java b/src/main/java/de/szut/lf8_starter/employee/EmployeeService.java index 5008cd9..d126288 100644 --- a/src/main/java/de/szut/lf8_starter/employee/EmployeeService.java +++ b/src/main/java/de/szut/lf8_starter/employee/EmployeeService.java @@ -14,6 +14,7 @@ import org.springframework.web.client.HttpClientErrorException; import org.springframework.web.client.RestTemplate; import java.util.ArrayList; +import java.util.List; @Service public class EmployeeService { @@ -59,7 +60,7 @@ public class EmployeeService { } } - public ArrayList getProjects(Long employeeId) { + public List getProjects(Long employeeId) { ArrayList projects = this.projectRepository.findAllByEmployeeId(employeeId); ArrayList projectDtos = new ArrayList<>();