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:25:12 UTC

[jira] [Created] (SLING-5707) [hapi] Add fromResource to HapiUtil and deprecate fromNode

Andrei Dulvac created SLING-5707:
------------------------------------

             Summary: [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


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)