On Thu, May 5, 2016 at 1:31 PM, Davide Giannella <[email protected]> wrote:

> Would it be possible to avoid the `instaceof`? Which means, in my
> opinion, all our binaries should be Adaptable.
>

The Binary interface is part of JCR API so cannot be be modified to extend
Adaptable. Hence the client code would need to cast and special case it

> Plus I would add anyhow an oak.api interface Adaptable so that we can
then, if needed, apply the same concept anywhere else.

That can also be done. For now I was being conservative in the API being
introduced. If later we find that Adaptable kind of support is need for
other place that can be introduced as a first class api

Chetan Mehrotra

Reply via email to