jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: svn commit: r1552419 - in /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/accesscontrol: AccessControlValidator.java AccessControlValidatorProvider.java
Date Tue, 14 Jan 2014 18:46:22 GMT
Hi,

On Tue, Jan 14, 2014 at 1:23 PM, Angela Schreiber <anchela@adobe.com> wrote:
> if am not mistaken this change introduces causes the following line to
> compare
> different objects with equals:
>
> the following line used to compare String with String but now compares
> String.equals(TypePredicate) in the AccessControlValidator:
>
> line 204        if
> (MIX_REP_REPO_ACCESS_CONTROLLABLE.equals(requiredMixin)) {
>
> i don't know how to get the requiredMixin string out of the predicate.
> so, maybe you can fix that right away?

Good catch! I'll fix it in a moment.

BR,

Jukka Zitting

Mime
View raw message