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
79de46be
Commit
79de46be
authored
Apr 24, 2022
by
Juraj Fiala
Browse files
Fix typo
parent
b4cc4145
Pipeline
#132183
waiting for manual action with stage
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
secret-archive-service/src/main/java/cz/fi/muni/pa165/seminar4/group7/AgentAssignmentServiceImpl.java
View file @
79de46be
...
...
@@ -75,7 +75,7 @@ public class AgentAssignmentServiceImpl implements AgentAssignmentService {
public
List
<
AgentAssignment
>
getAssignmentsByAgentId
(
String
id
)
{
var
agent
=
agentDao
.
findById
(
id
);
if
(
agent
.
isEmpty
())
{
throw
new
IllegalArgumentException
(
String
.
format
(
"Agent with id %s does not exist.
}
"
,
id
));
throw
new
IllegalArgumentException
(
String
.
format
(
"Agent with id %s does not exist."
,
id
));
}
return
agent
.
get
().
getAgentAssignments
();
}
...
...
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