I just tested with JDK 1.5 and 1.6 and there are no errors or warnings
when another annotation attribute is added as long as the new attribute
has a default value. I know there are many places that say the shorthand
version only works if there is a single attribute named value but in
practice it appears to work.
Aaron
Levi Hoogenberg wrote:
I was about to post the same, but Eclipse accepts this without complaints.
On Mon, Dec 28, 2009 at 8:24 PM, Ben Gunter <[email protected]
<mailto:[email protected]>> wrote:
Doing so would break existing code because if we add any new elements
to the @UrlBinding annotation then the shorthand form
@UrlBinding("/blah") becomes illegal.
On Mon, Dec 28, 2009 at 1:40 PM, Aaron Porter <[email protected]
<mailto:[email protected]>> wrote:
> It wouldn't be too hard to add a host parameter to the @UrlBinding
> annotation. That would make more sense to me than trying to get
it into the
> value parameter. Then we don't have to worry about breaking any
existing
> code.
>
> Aaron
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution
fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Stripes-users mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/stripes-users
------------------------------------------------------------------------
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users