Commit 402fd39e authored by Tomáš Biloš's avatar Tomáš Biloš
Browse files

make services final in controller

parent 3961bbe8
Pipeline #140556 waiting for manual action with stage
......@@ -33,9 +33,9 @@ import cz.fi.muni.pa165.seminar4.group7.facade.AgentFacade;
@RequestMapping(value = "/agents")
public class AgentController {
private AgentService agentService;
private AgentFacade agentFacade;
private BeanMappingServiceImpl beanMappingService;
private final AgentService agentService;
private final AgentFacade agentFacade;
private final BeanMappingServiceImpl beanMappingService;
@Autowired
......@@ -48,7 +48,7 @@ public class AgentController {
@GetMapping()
public List<AgentDTO> getAllAgents(
// Coma separated list of skills
// Comma separated list of skills
@RequestParam(value = "skills", required = false) String skills,
@RequestParam(value = "country", required = false) String countryId
) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment