jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig <mdue...@apache.org>
Subject Re: svn commit: r1387062 - in /jackrabbit/oak/trunk: oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/name/ oak-core/src/test/java/org/apache/jackrabbit/oak/plugins/name/ oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/
Date Wed, 19 Sep 2012 22:00:25 GMT


On 18.9.12 10:44, Jukka Zitting wrote:
> Hi,
>
> On Tue, Sep 18, 2012 at 11:40 AM, Michael Dürig <mduerig@apache.org> wrote:
>> I think we should unify the approach and extend it to other areas where
>> applicable. The advantages are that there is no code duplication for
>> functionality required in oak-jcr and oak-core and that these classes can be
>> instantiated ad hoc without the need for passing instances of these around.
>
> +1 This approach already opened up a chance to simplify some of the
> name validation code in .oak.plugins.name (no need for the extra
> Namespaces utility class), on which I'm just now working.
>

IdentifierManager is another candidate: resolving references is also 
needed in core for checking reference value constraints.

Michael

> BR,
>
> Jukka Zitting
>


Mime
View raw message