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

Tobias Bocanegra resolved JCRVLT-133.
-------------------------------------
       Resolution: Fixed
         Assignee: Tobias Bocanegra
    Fix Version/s: 3.1.32

thanks. fixed in r1765201

> 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
>            Assignee: Tobias Bocanegra
>            Priority: Minor
>             Fix For: 3.1.32
>
>         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