Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
e0272103
Commit
e0272103
authored
Aug 12, 2021
by
Piotr Gawron
Browse files
not null validation added
parent
2d9dc832
Changes
1
Hide whitespace changes
Inline
Side-by-side
rest-api/src/main/java/lcsb/mapviewer/api/projects/models/functions/FunctionsController.java
View file @
e0272103
...
...
@@ -30,8 +30,8 @@ public class FunctionsController extends BaseController {
@GetMapping
(
value
=
"/{functionId}"
)
public
SbmlFunction
getFunction
(
@PathVariable
(
value
=
"projectId"
)
String
projectId
,
@PathVariable
(
value
=
"modelId"
)
I
nt
eger
modelId
,
@PathVariable
(
value
=
"functionId"
)
I
nt
eger
functionId
)
throws
QueryException
{
@PathVariable
(
value
=
"modelId"
)
i
nt
modelId
,
@PathVariable
(
value
=
"functionId"
)
i
nt
functionId
)
throws
QueryException
{
return
sbmlFunctionService
.
getFunctionById
(
projectId
,
modelId
,
functionId
);
}
...
...
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