MediaType.parse -> MediaType.valueOf

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


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.


| ? + ? = To question
    Paul Sandoz