jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (OAK-376) Internal class PropertyValue exposed through Oak API
Date Fri, 12 Oct 2012 15:29:04 GMT

    [ https://issues.apache.org/jira/browse/OAK-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13475073#comment-13475073
] 

Michael Dürig edited comment on OAK-376 at 10/12/12 3:28 PM:
-------------------------------------------------------------

Thanks for taking care of this. 

For a moment I though we could get rid of the methods that are duplicate in the new {{PropertyValue}}
interface and the {{PropertyState}} interface by extending the latter from the former. However,
it turns out that this creates a mess with equality: when using {{PropertyState}} s as {{PropertyValue}}
s and comparing them {{equals()}} would still consider the name of the {{PropertyState}}.


                
      was (Author: mduerig):
    Thanks for taking care of this. 

For a moment I though we could get rid of the methods that are duplicate in the new {{PropertyValue}}
interface and the {{PropertyState}} interface by extending the latter from the former. However,
it turns out that this creates a mess with equality: when using {{PropertyState}} s as {{PropertyValue}}
s and comparing them with equals would still consider the name of the {{PropertyState}}.


                  
> Internal class PropertyValue exposed through Oak API
> ----------------------------------------------------
>
>                 Key: OAK-376
>                 URL: https://issues.apache.org/jira/browse/OAK-376
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Michael Dürig
>            Assignee: Alex Parvulescu
>             Fix For: 0.6
>
>
> The {{PropertyValue}} class introduced with OAK-371 is referenced in the Oak API. We
should introduce an interface for this purpose.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message