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

Weird behaviour after selecting content proposal in PathParam annotation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.Final
    • 3.3.0.CR1
    • webservices
    • None
    • 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"

            xcoulon@redhat.com Xavier Coulon
            jjankovi Jaroslav Jankovič (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: