Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jan Smejkal
Pa165 Secret Archive
Commits
402fd39e
Commit
402fd39e
authored
May 17, 2022
by
Tomáš Biloš
Browse files
make services final in controller
parent
3961bbe8
Pipeline
#140556
waiting for manual action with stage
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
backend/secret-archive-rest/src/main/java/cz/fi/muni/pa165/seminar4/group7/controller/AgentController.java
View file @
402fd39e
...
...
@@ -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
// Com
m
a separated list of skills
@RequestParam
(
value
=
"skills"
,
required
=
false
)
String
skills
,
@RequestParam
(
value
=
"country"
,
required
=
false
)
String
countryId
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment