You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2016/10/17 01:52:58 UTC
[jira] [Resolved] (JCRVLT-133) Avoid node.refresh()
[ 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)