You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Andrei Dulvac (JIRA)" <ji...@apache.org> on 2016/05/02 18:30:13 UTC
[jira] [Updated] (SLING-5707) [hapi] Add fromResource to HapiUtil
and deprecate fromNode
[ https://issues.apache.org/jira/browse/SLING-5707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrei Dulvac updated SLING-5707:
---------------------------------
Attachment: 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)