[
https://issues.apache.org/jira/browse/OFBIZ-10771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16736948#comment-16736948 ]
Mathieu Lirzin commented on OFBIZ-10771:
----------------------------------------
I have included [^OFBIZ-10771_Remove-unneeded-code-in-ObjectType-class.patch] which removes the useless {{isOrSubOf}}, {{instanceOf}} and {{interfaceOf}} methods. Additionnally it removes the {{getInstance}} method which is not used anywhere in the framework or in the plugins.
> ‘ObjectType’ contains unneeded code
> -----------------------------------
>
> Key: OFBIZ-10771
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10771> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: Trunk
> Reporter: Mathieu Lirzin
> Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-10771_Remove-unneeded-code-in-ObjectType-class.patch
>
>
> The {{org.apache.ofbiz.base.util.ObjectType}} class contains utilities that extends the Java reflection API by defining methods which accepts string representation of Java types and classes.
> It appears that this class contains unneeded code which is either dead or is redundant with the services already defined in the reflection API
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)