[jbosstools-issues] [JBoss JIRA] (JBIDE-10239) Support JAX-RS Path/PathParam refactoring

Xavier Coulon (JIRA) jira-events at lists.jboss.org
Thu Feb 16 10:35:38 EST 2012


     [ https://issues.jboss.org/browse/JBIDE-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xavier Coulon updated JBIDE-10239:
----------------------------------

    Fix Version/s: 3.3.0.CR1
                       (was: 3.3.0.Beta1)

    
> Support JAX-RS Path/PathParam refactoring
> -----------------------------------------
>
>                 Key: JBIDE-10239
>                 URL: https://issues.jboss.org/browse/JBIDE-10239
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: Webservices
>    Affects Versions: 3.3.0.M4
>            Reporter: Xavier Coulon
>            Assignee: Xavier Coulon
>            Priority: Minor
>             Fix For: 3.3.0.CR1
>
>
> When refactoring code like the one below:
> {code}
> @GET
> @Path("{id}")
> public Response getCustomer(@PathParam("id") Integer id, @Context UriInfo uriInfo) {
> 	ResponseBuilder responseBuilder = Response.ok().entity(null);
> 	return responseBuilder.build();
> }
> {code) 
> If changing the 'id' name of the first parameter, the user may also want to rename the @PathParam and @Path values to keep the consistency.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list