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

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


Ryan Emerson created IPROTO-104:
-----------------------------------

             Summary: Deprecate MediaType::parse in favour of ::fromString
                 Key: IPROTO-104
                 URL: https://issues.jboss.org/browse/IPROTO-104
             Project: Infinispan ProtoStream
          Issue Type: Enhancement
            Reporter: Ryan Emerson


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