[
https://issues.apache.org/jira/browse/SLING-5707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15266924#comment-15266924
]
Andrei Dulvac commented on SLING-5707:
--------------------------------------
SLING-5707.patch can also be applied from the sling project root with {{patch
-p0 -i SLING-5707.patch}}
> [hapi] Add fromResource to HapiUtil and deprecate fromNode
> ----------------------------------------------------------
>
> Key: SLING-5707
> URL: https://issues.apache.org/jira/browse/SLING-5707
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Reporter: Andrei Dulvac
> Labels: hapi
> Attachments: SLING-5707.patch
>
>
> HapiUtil has the method fromNode, which takes in a jcr Node.
> The attached patch deprecates fromNode and adds fromResource, to get a
> HApiType from a sling Resource.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)