dev@jsr311.java.net

MediaType.parse -> MediaType.valueOf

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Thu, 27 Mar 2008 10:42:09 +0100

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.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109