ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Brohl (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OFBIZ-9886) Deprecate XMLSerializer and refactor codebase to remove it.
Date Sun, 22 Oct 2017 18:47:00 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-9886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Brohl updated OFBIZ-9886:
---------------------------------
    Description: 
According to a notice in the class Javadoc, the class should be deprecated but there is no
@deprecated annotation.

{code:java}
/**
 * XmlSerializer class. This class is deprecated - new code should use the
 * Java object marshalling/unmarshalling methods in <code>UtilXml.java</code>.
 *
 */
public class XmlSerializer...
{code}

If we decide to deprecate the class, I think we should
* add the deprecated annotiation to the class
* refactor the codebase to use UtilXML instead of XmlSerializer

A disussion was started to discuss what we want to do: https://lists.apache.org/thread.html/b2ee63acd6be1d36de91860ca550fc265aff34870824dee619802317@%3Cdev.ofbiz.apache.org%3E

  was:
According to a notice in the class Javadoc, the class should be deprecated but there is no
@deprecated annotation.

{code:java}
/**
 * XmlSerializer class. This class is deprecated - new code should use the
 * Java object marshalling/unmarshalling methods in <code>UtilXml.java</code>.
 *
 */
public class XmlSerializer...
{code}

If we decide to deprecate the class, I think we should
* add the deprecated annotiation to the class
* refactor the codebase to use UtilXML instead of XmlSerializer




> Deprecate XMLSerializer and refactor codebase to remove it.
> -----------------------------------------------------------
>
>                 Key: OFBIZ-9886
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9886
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Michael Brohl
>            Assignee: Michael Brohl
>            Priority: Minor
>
> According to a notice in the class Javadoc, the class should be deprecated but there
is no @deprecated annotation.
> {code:java}
> /**
>  * XmlSerializer class. This class is deprecated - new code should use the
>  * Java object marshalling/unmarshalling methods in <code>UtilXml.java</code>.
>  *
>  */
> public class XmlSerializer...
> {code}
> If we decide to deprecate the class, I think we should
> * add the deprecated annotiation to the class
> * refactor the codebase to use UtilXML instead of XmlSerializer
> A disussion was started to discuss what we want to do: https://lists.apache.org/thread.html/b2ee63acd6be1d36de91860ca550fc265aff34870824dee619802317@%3Cdev.ofbiz.apache.org%3E



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message