https://jsr311.dev.java.net/issues/show_bug.cgi?id=44
Should we make the value of @*Param annotations optional when used
with fields and bean properties. E.g. should:
@QueryParam String foo;
be equivalent to:
@QueryParam("foo") String foo;
Unfortunately this won't work on method parameters since their names
are not preserved in class files.
Seems like a reasonable shortcut to me but, as I haven't found
specifying the value particularly irksome so far, I don't have a
strong opinion either way.
Opinions ?
Marc.
---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.