Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10239

Support JAX-RS Path/PathParam refactoring

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 4.30.x
    • 3.3.0.M4
    • webservices

      When refactoring code like the one below:

      @GET
      @Path("{id}")
      public Response getCustomer(@PathParam("id") Integer id, @Context UriInfo uriInfo) {
      	ResponseBuilder responseBuilder = Response.ok().entity(null);
      	return responseBuilder.build();
      }
      
      

      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.

            Unassigned Unassigned
            xcoulon@redhat.com Xavier Coulon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: