[jbosstools-issues] [JBoss JIRA] (JBIDE-15522) Shoud validate when @Path arg at type does not match @PathParam on methods
Xavier Coulon (JIRA)
jira-events at lists.jboss.org
Wed Dec 4 02:42:07 EST 2013
[ https://issues.jboss.org/browse/JBIDE-15522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xavier Coulon updated JBIDE-15522:
----------------------------------
Fix Version/s: 4.2.x
(was: 4.2.0.Alpha1)
> Shoud validate when @Path arg at type does not match @PathParam on methods
> ---------------------------------------------------------------------------
>
> Key: JBIDE-15522
> URL: https://issues.jboss.org/browse/JBIDE-15522
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: webservices
> Affects Versions: 4.1.0.Final
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Fix For: 4.2.x
>
>
> Let's take the following code:
> {code}
> @Path("/users/{username}")
> public class UserResource {
>
> @GET
> @Produces("text/xml")
> public String getUser(@PathParam("user") String userName) {
> ...
> }
> }
> {code}
> Validation should report a problem because of the mismatch between the {noformat}@Path{noformat} value and the {noformat}@PathParam{noformat} value
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list