[
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)