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

Weird behaviour after selecting content proposal in PathParam annotation

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      Hide

      STEP: Create dynamic web project with JAX-RS support
      STEP: Create JAX-RS web service:

      RestService.java
      @GET
      @Path("/{id}")
      public void method(@PathParam("") java.lang.String parameter) {
      		
      }
      

      STEP: Put cursor on @PathParam(""|)
      STEP: Press Control-Space to invoke Content Assist proposals and select id
      ASSERT: "id" is correctly put between quotes
      FAIL:

      @GET
      @Path("/{id}")
      public void method(@PathParam("""id"
      
      Show
      STEP: Create dynamic web project with JAX-RS support STEP: Create JAX-RS web service: RestService.java @GET @Path( "/{id}" ) public void method(@PathParam("") java.lang. String parameter) { } STEP: Put cursor on @PathParam(""|) STEP: Press Control-Space to invoke Content Assist proposals and select id ASSERT: "id" is correctly put between quotes FAIL: @GET @Path( "/{id}" ) public void method(@PathParam( """id"

      Attachments

        Activity

          People

          Assignee:
          xcoulon Xavier Coulon
          Reporter:
          jjankovi Jaroslav Jankovič (Inactive)
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

            Dates

            Created:
            Updated:
            Resolved: