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 "Jukka Zitting (JIRA)" <ji...@apache.org> on 2013/05/27 13:13:19 UTC

[jira] [Resolved] (OAK-838) Refactor JsopUtil to not duplicate code from KernelNodeState

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

Jukka Zitting resolved OAK-838.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9
         Assignee: Jukka Zitting

Done in revision 1486573.

Parts of JsopUtil still live as private methods inside AbstractQueryTest where they are used to process the "commit" lines inside the test description files.
                
> Refactor JsopUtil to not duplicate code from KernelNodeState
> ------------------------------------------------------------
>
>                 Key: OAK-838
>                 URL: https://issues.apache.org/jira/browse/OAK-838
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Michael Dürig
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 0.9
>
>
> Currently {{JsopUtil}} duplicates code from {{KernelNodeState}}, which should be avoided. 
> Optimally only the {{KernelNodeStore}} should be dealing with the JSOP representation. {{JsopUtil}} is only used for initializing content in a few query test cases. Those cases should be refactored to use the {{NodeStore}} API and then we can drop the {{JsopUtil}} class.

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