[ 
https://issues.apache.org/jira/browse/SLING-12657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17926932#comment-17926932
 ] 

Julian Reschke commented on SLING-12657:
----------------------------------------

Unless I'm mistaken, the annotations can help programmers to make the right 
decisions about whether to *implement* an interface or not, no? Isn't 
implenenting JackrabbitRepository (as it happened here) exactly what we want to 
avoid/prevent?

> JcrBase: ProxyRepository implements JackrabbitRepository
> --------------------------------------------------------
>
>                 Key: SLING-12657
>                 URL: https://issues.apache.org/jira/browse/SLING-12657
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>            Reporter: Julian Reschke
>            Priority: Major
>
> ...but that interface is of type "provider".
> See [https://cqdump.joerghoh.de/tag/providertype/] and 
> [https://github.com/apache/jackrabbit-oak/blob/1939b6c15a1db13222c52e677ea48fdd7424bfb3/oak-jackrabbit-api/src/main/java/org/apache/jackrabbit/api/JackrabbitRepository.java#L28.]
> Any update to JackrabbitRepository (IMHO) will cause strange runtime 
> behaviour.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to