dev@jsr311.java.net

Re: JSR311: MediaType.parse -> MediaType.valueOf

From: Bill Burke <bburke_at_redhat.com>
Date: Thu, 27 Mar 2008 10:07:48 -0400

+1

Paul Sandoz wrote:
> Hi,
>
> I noticed a slight "impedance" difference with MediaType et. al and the
> @*Param annotations.
>
> MediaType has a static method, "parse", to parse a String to an instance.
>
> It would make sense to rename such methods to "valueOf" then, where it
> makes sense, such types can be used with @*Param.
>
> Paul.
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com