On Wed, Jun 17, 2009 at 11:16, Sergey Kabashnyuk<[email protected]> wrote: > 2. Test org.apache.jackrabbit.test.api.NodeCanAddMixinTest#testAddMixinTwice > Have one interesting line “adding again (mixin) must succeed”. Is it > implementation > specification or it's come from the specification?
it's specified in the JavaDoc of the method Node.addMixin(): "Adds the mixin node type named mixinName to this node. If this node is already of type mixinName (either due to a previously added mixin or due to its primary type, through inheritance) then this method has no effect. Otherwise mixinName is added to this node's jcr:mixinTypes property." thanks to Angela for pointing that out. regards marcel
