dev@jsr311.java.net

Issue 44: Optional values for _at_*Param

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Mon, 23 Jun 2008 13:27:12 -0400

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.