[
https://issues.apache.org/jira/browse/SLING-5707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15266917#comment-15266917
]
ASF GitHub Bot commented on SLING-5707:
---------------------------------------
GitHub user dulvac opened a pull request:
https://github.com/apache/sling/pull/137
Addeed fromResource to HapiUtil and deprecated fromNode
SLING-5707
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dulvac/sling SLING-5707
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/sling/pull/137.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #137
----
commit 79aef4214857b5b80164edb24e61a801dc7c878b
Author: Andrei Dulvac <[email protected]>
Date: 2016-05-02T16:21:45Z
Addeed fromResource to HapiUtil and deprecated fromNode
----
> [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
>
> 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)