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

Tristan Tarrant (Jira) issues at jboss.org
Mon Aug 5 05:12:28 EDT 2019


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

Tristan Tarrant updated ISPN-10422:
-----------------------------------
    Sprint: DataGrid Sprint #31, DataGrid Sprint #32  (was: DataGrid Sprint #31)


> Deprecate MediaType::parse in favour of MediaType::fromString
> -------------------------------------------------------------
>
>                 Key: ISPN-10422
>                 URL: https://issues.jboss.org/browse/ISPN-10422
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: API
>    Affects Versions: 10.0.0.Beta4
>            Reporter: Ryan Emerson
>            Assignee: Ryan Emerson
>            Priority: Major
>             Fix For: 10.0.0.Beta5
>
>
> 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