[ 
https://issues.apache.org/jira/browse/JCRVLT-133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jörg Hoh updated JCRVLT-133:
----------------------------
    Attachment: JCRVLT-133.patch

Patch attached.

> Avoid node.refresh()
> --------------------
>
>                 Key: JCRVLT-133
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-133
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>    Affects Versions: 3.1.30
>            Reporter: Jörg Hoh
>            Priority: Minor
>         Attachments: JCRVLT-133.patch
>
>
> With Oak as JCR implementation I see a lot of warnings like this:
> {noformat}
> org.apache.jackrabbit.oak.jcr.session.ItemImpl Item#refresh invokes 
> Session#refresh!
> {noformat}
> To get rid of these we should rather use
> {code}
>   node.getSession().refresh(...);
> {code}
> instead of 
> {code}
>   node.refresh(..);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to