Jörg Hoh created JCRVLT-133:
-------------------------------

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


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