You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2012/10/12 15:09:04 UTC

[jira] [Created] (OAK-376) Internal class PropertyValue exposed through Oak API

Michael Dürig created OAK-376:
---------------------------------

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


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

[jira] [Commented] (OAK-376) Internal class PropertyValue exposed through Oak API

Posted by "Alex Parvulescu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OAK-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13475054#comment-13475054 ] 

Alex Parvulescu commented on OAK-376:
-------------------------------------

with revision 1397604 I transformed the PropertyValue into an interface and renamed the existing impl to PropertyStateValue
                
> 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
>
> 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

[jira] [Commented] (OAK-376) Internal class PropertyValue exposed through Oak API

Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OAK-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510513#comment-13510513 ] 

Thomas Mueller commented on OAK-376:
------------------------------------

Revision 1417455 - PropertyValue is now in the oak-core API, so it seems it's better to use it instead of PropertyStateValue directly.
                
> 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

[jira] [Commented] (OAK-376) Internal class PropertyValue exposed through Oak API

Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OAK-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13475073#comment-13475073 ] 

Michael Dürig commented on OAK-376:
-----------------------------------

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

[jira] [Comment Edited] (OAK-376) Internal class PropertyValue exposed through Oak API

Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
    [ 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

[jira] [Resolved] (OAK-376) Internal class PropertyValue exposed through Oak API

Posted by "Alex Parvulescu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OAK-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu resolved OAK-376.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.6
         Assignee: Alex Parvulescu
    
> 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