[ 
https://issues.apache.org/jira/browse/WINK-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryant Luk resolved WINK-344.
-----------------------------

    Resolution: Fixed

> Capture variables can be different even though the capture regular expression 
> is the same
> -----------------------------------------------------------------------------------------
>
>                 Key: WINK-344
>                 URL: https://issues.apache.org/jira/browse/WINK-344
>             Project: Wink
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.1.2
>            Reporter: Bryant Luk
>            Assignee: Bryant Luk
>
> Stefan Witte reported an issue on the mailing list where 2 subresource 
> methods have the same capture regular expression but different capture 
> variable names.
> {code}
> @Path("test")
> public class TestResource {
>     @Path("{id})
>     @GET
>     public String get((@PathParam("id} String id) { ... }
>     @Path("{id2})
>     @DELETE
>     public String delete(@PathParam("id2} String id) { ... }
> }
> {code}
> and in the DELETE method, the id2 would be null.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to