jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] Resolved: (JCR-1963) Determination of property state difference should skip binary values
Date Wed, 25 Feb 2009 15:59:02 GMT

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

Michael Dürig resolved JCR-1963.

       Resolution: Fixed
    Fix Version/s: 1.6.0

Fixed at revision: 747839  

This is a fix for case a) from above. Property are now only diffed if necessary. 

> Determination of property state difference should skip binary values
> --------------------------------------------------------------------
>                 Key: JCR-1963
>                 URL: https://issues.apache.org/jira/browse/JCR-1963
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr2spi
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 1.6.0
> o.a.j.jcr2spi.state.PropertyState.diffPropertyData, PropertyData) should alway consider
two binary values to be different. The current implementation compares two binary values with
equals(). An implementation will in general have to do a byte by byte comparison of both values.
This is most likely always more expensive than considering the values different right from
the start. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message