[infinispan-issues] [JBoss JIRA] (ISPN-10422) Deprecate MediaType::parse in favour of ::fromString

Ryan Emerson (Jira) issues at jboss.org
Mon Jul 22 10:29:01 EDT 2019


     [ https://issues.jboss.org/browse/ISPN-10422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Emerson moved IPROTO-104 to ISPN-10422:
--------------------------------------------

    Project: Infinispan  (was: Infinispan ProtoStream)
        Key: ISPN-10422  (was: IPROTO-104)


> Deprecate MediaType::parse in favour of ::fromString
> ----------------------------------------------------
>
>                 Key: ISPN-10422
>                 URL: https://issues.jboss.org/browse/ISPN-10422
>             Project: Infinispan
>          Issue Type: Enhancement
>            Reporter: Ryan Emerson
>            Priority: Major
>
> Currently {{org.infinispan.commons.dataconversion.MediaType}}  exposes both {{fromString}} and {{parse}} methods to create an instance from a String. We should deprecate the latter in favour of the former and update all internal code references.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list