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

Reply via email to