[ https://issues.apache.org/jira/browse/FLINK-7543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16145046#comment-16145046 ]
ASF GitHub Bot commented on FLINK-7543: --------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/flink/pull/4611 > Simplify REST parameter access. > ------------------------------- > > Key: FLINK-7543 > URL: https://issues.apache.org/jira/browse/FLINK-7543 > Project: Flink > Issue Type: Improvement > Components: REST > Affects Versions: 1.4.0 > Reporter: Kostas Kloudas > Assignee: Chesnay Schepler > Fix For: 1.4.0 > > > Currently you have to do: > {{ > final ParameterTypes.JobIdPathParam jobId = > request.getPathParameter(ParameterTypes.JobIdPathParam.class); > JobID jobID = jobId.getValue(); > }} > This issue proposes to remove the second step and return directly the value, > while performing the necessary checks internally (different for query and > path parameters), without exposing it to the user. -- This message was sent by Atlassian JIRA (v6.4.14#64029)