You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2010/02/23 17:36:27 UTC

[jira] Resolved: (JCR-2514) spi2dav: Drop Q*DefinitionImpl implementations and use spi-commons Q*DefinitionBuilder

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

angela resolved JCR-2514.
-------------------------

    Resolution: Fixed

created a DefinitionUtil that provides static helper methods to build the definitions from the given parameters.
the code executed in the constructors of the removed classes has been moved over and adjusted to use Q*DefinitionBuilder.

roughly tested by running the org.apache.jackrabbit.test.api.nodetype.TestAll.suite() with the setup provided by jackrabbit-jcr2dav.

> spi2dav: Drop Q*DefinitionImpl implementations and use spi-commons Q*DefinitionBuilder
> --------------------------------------------------------------------------------------
>
>                 Key: JCR-2514
>                 URL: https://issues.apache.org/jira/browse/JCR-2514
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-spi2dav
>    Affects Versions: 2.0.0
>            Reporter: angela
>            Assignee: angela
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> spi2dav provides separate implementations of the Q*Definition interfaces that apart from the construction just duplicate the code
> present in spi-commons. Instead the Q*DefinitionBuilder helpers could be used to generate the definition instances.

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