[jbosstools-issues] [JBoss JIRA] (JBIDE-15522) Shoud validate when @Path arg at type does not match @PathParam on methods
Xavier Coulon (JIRA)
issues at jboss.org
Thu Aug 28 11:32:59 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-15522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xavier Coulon resolved JBIDE-15522.
-----------------------------------
Fix Version/s: 4.2.0.CR1
(was: 4.2.x)
Resolution: Done
Problem could not be reproduced. Was fixed in a previous commit ;-)
> 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.0.CR1
>
>
> 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 was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jbosstools-issues
mailing list